+ 1

Module 1 Quiz

Fill in the blanks to declare a variable, add 5 to it and print its value. >>> x = 4 >>> x _ = 5 >>> print __ Can someone help me understand what this is asking me to do and how I can solve it but not give me the answer? for the first _, I got + which is right, but I tried putting x+ into __ and it says it is both wrong. Any idea?

15th Jun 2020, 7:04 AM
Ken Phan
Ken Phan - avatar
4 Réponses
+ 2
Listen you are right in the first blank it would be + But to print something it needed to be in brackets Like this print(anything) May It Helps You 😊
15th Jun 2020, 7:06 AM
Hacker Badshah
Hacker Badshah - avatar
+ 2
You need to print the value of x finally not x+ instead it should be (x)
15th Jun 2020, 7:09 AM
Abhay
Abhay - avatar
+ 2
Ken Phan You would be an idiot if you had asked only the answer But you asked for understanding which makes you a Curious Learner! Just keep going like that Thank You 😊
15th Jun 2020, 7:15 AM
Hacker Badshah
Hacker Badshah - avatar
+ 1
OMG! I am such an idiot! Thank you guys a ton!
15th Jun 2020, 7:09 AM
Ken Phan
Ken Phan - avatar