+ 1

Help me in python

>>>x=5 >>>x_=4 print___

28th Jan 2018, 5:57 PM
Mohamed Izaldin
Mohamed Izaldin - avatar
5 Answers
+ 18
i guess he wants to ask ... from where "+" comed //there are 5 possibilies for 1st blank (if only 1 space) but 3 possible valies of x(as 5-4 =1 & 5/4 =1 & 5%4=1 ... & 5+4=9,5*4=20) ... ie x can be 1,9or20 //for second blank ... u can print whatever but here u will be printing x most probably
28th Jan 2018, 6:20 PM
Gaurav Agrawal
Gaurav Agrawal - avatar
+ 8
>>>x=5 >>>x+=4 print(x) output :- 9
28th Jan 2018, 6:09 PM
GAWEN STEASY
GAWEN STEASY - avatar
+ 8
x+=4 can also be written as x=x+4 that's why the output is like that
28th Jan 2018, 6:14 PM
GAWEN STEASY
GAWEN STEASY - avatar
+ 1
thank you very much
28th Jan 2018, 6:27 PM
Mohamed Izaldin
Mohamed Izaldin - avatar
0
but...how??
28th Jan 2018, 6:10 PM
Mohamed Izaldin
Mohamed Izaldin - avatar