how to fill this answer? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 2

how to fill this answer?

X=4 X()=5 Pint() What shoud be filled in ()?

25th Jun 2018, 6:32 AM
Detaq
3 Answers
+ 6
... The actual requirements of the problem is to declare a variable X, assign value 4 to it, then add 5 to X and print X. Next time, please elaborate or at least make it clear what you want to achieve. x = 4 x += 5 print(x)
25th Jun 2018, 7:46 AM
Hatsy Rei
Hatsy Rei - avatar
+ 1
first line defines variable X to be 4 second line is a function call X in which you are trying to assign integer 5 third line is a function call for Pint there is no function X or Pint in your code and you cant assign 5 in the first place. please provide proper code or check if this is what you are looking for: X = 4 X = 5 print(X) also, it's best practice to keep variable names in lowercase
25th Jun 2018, 7:24 AM
Markus Kaleton
Markus Kaleton - avatar
0
Pint -> print
25th Jun 2018, 6:43 AM
PReiZ
PReiZ - avatar