Robotics & Artificial Intelligence

Which of the following expressions is the correct option for ab?

  1. a*b
  2. a**b
  3. a\^b
  4. a\^*b

Getting Started

3 Likes

Answer

a*b

Reason — In Python, the symbol * is the multiplication operator used to multiply two variables, so a*b correctly represents the product of a and b.

Answered By

3 Likes


Related Questions