0

Python for Beginers: Module 3 Quiz, Question 4

The question im stuck on asks this.. Fill in the blanks to declare a variable, add 5 to it and print its value. x = 4 x[BLANK] = 5 print [BLANK] For the life of me i cannot figure out how to solve this one. Any help is GREATLY appreciated as i would like to continue learning. I cant move forward without finishing this quiz (i think)

16th Mar 2021, 6:16 AM
Kyle Tinkel
Kyle Tinkel - avatar
2 Answers
+ 2
adding value to variable can be made with "+=" operator
16th Mar 2021, 6:33 AM
Igor Kostrikin
Igor Kostrikin - avatar
0
i got the answer . i was on the right track but i was adding an extra = for some reason. thank you for the response!
16th Mar 2021, 6:35 AM
Kyle Tinkel
Kyle Tinkel - avatar