0
Fill the blanks to declare a variable add 5 to it and print its value ļ¼what is wrong here ļ¼
>>> x =4 >>>x +=5 >>>print ļ¼9ļ¼
3 Answers
+ 1
Many mistakes:
1. indeltation error on line 1 due to use of extra space before "x = 4"
2. You have used "FULLWIDTH LEFT/RIGHT PARENTHESIS --> ļ¼ļ¼" instead of normal parentheses --> ().
3. If you are printing value from a variable, than why you have printed 9 directly on line 3.
The correct code would be:
x = 4
x += 5
print(x)
0
Here is a simple code bro
https://code.sololearn.com/c1MqiN332T3Y/?ref=app