+ 1

How d=+c is valid in python

Doubt

18th Oct 2019, 6:11 PM
Arunachalam A
Arunachalam A - avatar
1 Réponse
+ 3
hi, it is a valid statement in python d=8 c=4 d=+c print(d) # output: 4 # "=" symbol here is assignment of +4, so it's a regular expression
18th Oct 2019, 7:36 PM
Lothar
Lothar - avatar