+ 1
Fill in the blanks to declare a variable, add 5 to it and print its value. >>> x = 4 >>> x __ = 5 >>> print __ What is the answer for above question?
This is one of the questions that I got from this app
70 odpowiedzi
+ 16
I believe this is the correct answer you're looking for:
x = 4
x += 5
print(x)
"x = 4" declares the variable
"x += 5" is a faster way of saying "x = x + 5"
"print(x)" prints it's value
Hope that helped!
+ 4
yeah,I also think Dean's answer is correct.
0
Make sure you add the parenthesis, this is python 3. Print will not work without (x)
0
return
0
so anser is 9
0
x-=3
0
it worked
0
fill in the blacks to print"you rock!" to the screen if variable a is greater than 12 and variable b is less than or equal to 76 int a=44; int b=33; if(a>12 b<= ){cout<<"you block"<<endl;} Amir Ahmad
0
what is the answer just tell me please
0
>>> x = 4
>>> x + = 5
>>> print (x)
0
Fill in the blank to declare a variable var that contains only positive numbers.
0
i dont get it, whats the awnser
0
HI
0
??
0
it #
0
thanks dean!
0
x + = 5 #add + sign in the first blank
print(x) #add (x) after print
0
1: +
2: (x)
0
Fill in the blank to comment out the text:
x = 8
printing x
print(x)
What is the answer for this question?
0
Fill in the blank with the output of this code.
>>> 1 + 2 + 3 + 4.0 + 5