+ 1

Fill in the blanks to declare a variable, add 5 to it and print it.

x = 4 x + = 5 print found it incorrect printing (x), what might be the problem? https://www.sololearn.com/discuss/2694561/?ref=app

14th Feb 2021, 8:38 AM
Thabang Matlou
8 Answers
+ 7
Remove the space between '=' and '+' x = 4 x += 5 print(x)
14th Feb 2021, 8:45 AM
Simba
Simba - avatar
+ 5
Looks like your variable x in upper case. Check it again https://ibb.co/PFsFGxQ
14th Feb 2021, 9:15 AM
Simba
Simba - avatar
+ 2
It went through, thanks. Wanted to be centered
14th Feb 2021, 9:21 AM
Thabang Matlou
+ 1
I wish i could send a screenshot
14th Feb 2021, 8:56 AM
Thabang Matlou
+ 1
It's lower case
14th Feb 2021, 9:20 AM
Thabang Matlou
0
It's incorrect
14th Feb 2021, 8:46 AM
Thabang Matlou
0
Ok
14th Feb 2021, 9:08 AM
Thabang Matlou
14th Feb 2021, 9:11 AM
Thabang Matlou