- 6
Fill in the blanks to declare a variable, add 5 to it and print its value.
Fill in the blanks to declare a variable, add 5 to it and print its value. x = 4 x_ = 5 print
8 Réponses
+ 4
x=4
x+=5
print(x)
These are simple questions :|
Pls go through the beginning of the python tutorial course
+ 2
1. +
print(x)
+ 1
Using self assignment +=
x += 5
+ 1
Use assignment operator that is, +=
Which means x+=5 ; x= x+5
+ 1
+
(x)
0
nothing is working for my answer on my quiz i really dont get it
0
FRANKIE Ochoa
How are trying..?
What is your answer exactly
It is fine for me above all.. I checked, no bug..
Take a screen shot and add of you don't get it?
0
What is the output of this code?
x = 3
num = 17
print(num % x)