I can't find the error | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 2

I can't find the error

Hello, I have a question I have a problem in the examination of python module 1, in the 4th question it asks me this formula >>> x = 4 >>> x + = 5 >>> print I do the formula and it gives me 9 but it is wrong, what am I doing wrong? thanks for helping

1st Apr 2020, 3:08 AM
Ricardo Bozzani
Ricardo Bozzani - avatar
10 Answers
+ 5
Question: >>> x = 4 >>> x __= 5 >>> print ___ Answer: >>> x = 4 >>> x += 5 >>> print (x) Which version of python were you using?
1st Apr 2020, 2:01 PM
...
+ 3
If it is giving you output as 9 then what is actual output do you want? Do you have any information related to it?
1st Apr 2020, 3:39 AM
...
+ 2
I don't know whether it is a mistake or not but why you didn't wrote "print x" instead of "print"?
1st Apr 2020, 3:30 AM
...
+ 1
if it gives me 9 but it says error, it is the python module 1 exam 3 hours ago and I can't find the error
1st Apr 2020, 3:41 AM
Ricardo Bozzani
Ricardo Bozzani - avatar
+ 1
But before the code they didn’t give any directions to answer the question?
1st Apr 2020, 3:52 AM
...
+ 1
What was the blank part? Did you wrote print (x) in line 3?
1st Apr 2020, 4:15 AM
...
0
the questions are in Spanish the program in English, the problem is the result
1st Apr 2020, 3:37 AM
Ricardo Bozzani
Ricardo Bozzani - avatar
0
I'm Argentinean
1st Apr 2020, 3:38 AM
Ricardo Bozzani
Ricardo Bozzani - avatar
0
fill in the blanks to declare a variable, add 5 and print its value
1st Apr 2020, 4:02 AM
Ricardo Bozzani
Ricardo Bozzani - avatar
0
Complete los espacios en blanco para declarar una variable, agregue 5 e imprima su valor. >>> x = 4 >>> x = 5 >>> imprimir
1st Apr 2020, 1:50 PM
Ricardo Bozzani
Ricardo Bozzani - avatar