error in your app code on quite module 1, question 4 | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

error in your app code on quite module 1, question 4

your code have an error >>> x = 4 >>> x _=5 >>>print__ the correct answer should be: >>> x = 4 >>> x +=5 >>>print x >>> 9 however it always come as error

25th Aug 2016, 1:03 PM
Krasimir Vatchinsky
Krasimir Vatchinsky - avatar
4 Answers
+ 3
... On the line you have to fill things in ;| and it isnt print x but print (x)
25th Aug 2016, 1:07 PM
Tom Post
Tom Post - avatar
+ 1
I did test it on my Python shell and it provides result without () print (x) is not required when print x work as well
25th Aug 2016, 1:13 PM
Krasimir Vatchinsky
Krasimir Vatchinsky - avatar
+ 1
you are probably usibg python 2 ..
25th Aug 2016, 1:16 PM
Tom Post
Tom Post - avatar
+ 1
I have both .2 and .3 however Python 3 is still under development and not all major libraries are available so whoever whant to learn and use Python NOW is using Python 2.7 so it should be good to provide opportunities for those who are making effort to learn to learn what is I. use now not in the future 🤔
25th Aug 2016, 1:30 PM
Krasimir Vatchinsky
Krasimir Vatchinsky - avatar