- 7
Help me out... X=4 x_=5 print__
20 Réponses
+ 3
Welcome to the community! :-)
Your request:
x = 4
x _= 5
print__
You may only work with what you have at your disposal. to print a variable you enclose it with parentheses. when it comes to *blank* = 5, it is an 'operator'.
# Other operators could be used but might be wrong at this early state, to stay in content:
x = 4
x <= 5 # (or += 5) - but like I said it may not accept that this early on.
print(x)
Explanation: x is 4 (which is lower than 5). operator " <= " says "if 5 is higher or equal to x (which is 4), then print the variable x. The output will then simply be:
>>>4
The opposite to <= would be >= and means quite the reversed - '4 is higher or equal'.
Hope this helped you out on your quest.
Dr.
+ 1
x=4
x+=5
print (x)
--> (x)
;-)
+ 1
x=4
x+=5
print ?
can you help me to solve the above problem
9 is nor Ans
0
Tristan McCullen why did you use <= ?
I know maybe I missed something but Im very fresh in coding and every good advice is very welcome and appreciate. I cant figure out why you used < in your code?
x=4
x<=5
print(x)
Should be
x=4
x+=5
print(x)
0
Which statement ends the current iteration and continues with the next one?
0
x = 10
y = 20
if
x > y
print("if statement")
else
print("else statement")
it's wrong because there is another blanck!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
0
help
x = 10
y = 20
x > y
print("if statement")
print("else statement")
0
fuck
0
x = 8
____ printing x
print(x)
help me please
0
oh bhai maro
0
Imprimir (x)
0
heeeeeelp me
0
How you solve the spider man practice im lost
0
x=4
x+=5
print(x)
#the output will be 9
- 1
Help Me PLEASEEEEE!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
- 2
x = 3
num = 17
print(num % x)
- 2
It say 9 is incorrect
- 3
x=4
x+=5
print (x) /= (x)
Ans=9
- 4
>>> x = 4
>>> x += 5
>>> print (x)