Module Quiz 1 question 4 | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Module Quiz 1 question 4

I did A hint I am confused about what the question is asking me to do

15th Sep 2017, 12:27 PM
Luke Nusslein
Luke Nusslein - avatar
2 Answers
+ 10
Taking @Tommy's comment about that quiz. The variable is initially given the value of 4. The quiz tells you to add five which you do by entering x+=5 because as you learned in the previous lessons x+=5 just means x+5. Then you print your x as (x), the parenthesis are necessary because in Python 3.0 you cannot print something if it doesn't have parenthesis around it! Hope this helps
15th Sep 2017, 12:33 PM
Dev
Dev - avatar
0
Using 'hint' waste a little of your XP. Just see the comments
15th Sep 2017, 2:48 PM
Muhd Khairul Amirin
Muhd Khairul Amirin - avatar