- 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
10 odpowiedzi
+ 5
Question:
>>> x = 4
>>> x __= 5
>>> print ___
Answer:
>>> x = 4
>>> x += 5
>>> print (x)
Which version of python were you using?
+ 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?
+ 2
I don't know whether it is a mistake or not but why you didn't wrote "print x" instead of "print"?
+ 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
+ 1
But before the code they didn’t give any directions to answer the question?
+ 1
What was the blank part?
Did you wrote print (x) in line 3?
0
the questions are in Spanish the program in English, the problem is the result
0
I'm Argentinean
0
fill in the blanks to declare a variable, add 5 and print its value
0
Complete los espacios en blanco para declarar una variable, agregue 5 e imprima su valor.
>>> x = 4
>>> x
= 5
>>> imprimir