0

Can someone show me the solution to this? I got stuck.

Fill in the blanks to declare a variable, add 5 to it and print its value. x = 4 x blank = 5 print (x)

19th Apr 2022, 1:49 PM
Dacimbodi
Dacimbodi - avatar
2 odpowiedzi
+ 3
x+=1 is short form for x = x + 1 Also same goes for -= *= /= %= //= hope it helps to solve it..
19th Apr 2022, 2:08 PM
Jayakrishna 🇮🇳
+ 2
Thank you!!! Yes, it works.
19th Apr 2022, 2:16 PM
Dacimbodi
Dacimbodi - avatar