+ 1

Will the code work if "error" is replaced by None?Can a value be assigned to a variable when it is assigned 'None' initially?

27th Jun 2016, 7:15 AM
Ashray
Ashray - avatar
2 Answers
+ 1
Yes you can do this: a = None a = 5
3rd Jul 2016, 6:48 AM
Ahmed AZ
Ahmed AZ - avatar
+ 1
yes
29th Jul 2016, 10:36 PM
Narek Tonoyan
Narek Tonoyan - avatar