Computer Science, asked by shine3922, 1 month ago

what is the difference between c=2 and c==2 ? in pythons

Answers

Answered by deekshith2000
1

Explanation:

c = 2

In the above step.. we are giving value to the variable c which is equal to 2

c == 2

In this above step.. we are comparing the value of c with 2 (== means comparison operator)

Similar questions