0

Help!the basic practise of Python!Who know the answer?

x=4 x_ =5 print__ It need that x add 5,and print.I have no idea,who can help me?

10th Jun 2018, 10:07 AM
strangcui
2 Answers
+ 6
x = 4 x += 5 print(x) The value of x is 4. x += 5 is equivalent to x = x +5. Therefore the value is 9. Use print function and print it. Answer is 9.
10th Jun 2018, 10:11 AM
Akash Pal
Akash Pal - avatar
+ 1
Thx!
10th Jun 2018, 11:09 AM
strangcui