Computer Science, asked by himanshin4802, 6 hours ago

Which one of the following is a valid assignment statement in Python?

p=p+3
p==3
p+3=p
p*3=p

Answers

Answered by yatharthgupta77777
1

Answer:

p = p + 3

Explanation:

The second one is a boolean expression.

The third and fourth ways are wrong because variable assignment is done from left to right not from right to left.

Similar questions