Posts by João Carlos Agostini • 51 points
1 post
-
4
votes1
answer402
viewsQ: Python - does not allow assigning value to the variable in if conditional, why?
I did something in Python that is common to do in C and javascript, ie, give a value to a variable when an if condition is met. I’m sure that in Python it’s also possible to program in this way,…