if we don't write "del" and declare same variables with two different values, and if we tell to print that variable then it is t | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

if we don't write "del" and declare same variables with two different values, and if we tell to print that variable then it is t

22nd Oct 2020, 4:36 AM
Kushal Barot
Kushal Barot - avatar
1 Answer
0
a = 5 del a a = 10 VS a = 5 a = 10 In both ways a is 10 eventually. But the first one add an extra deletion
22nd Oct 2020, 4:41 AM
你知道規則,我也是
你知道規則,我也是 - avatar