- 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

16th Sep 2020, 6:16 PM
FRANKIE Ochoa
8 Respostas
+ 4
x=4 x+=5 print(x) These are simple questions :| Pls go through the beginning of the python tutorial course
16th Sep 2020, 6:33 PM
Nilesh
Nilesh - avatar
+ 2
1. + print(x)
27th Aug 2021, 1:04 PM
PRINCE KUMAR
PRINCE KUMAR - avatar
+ 1
Using self assignment += x += 5
16th Sep 2020, 6:22 PM
HBhZ_C
HBhZ_C - avatar
+ 1
Use assignment operator that is, += Which means x+=5 ; x= x+5
16th Sep 2020, 6:28 PM
KRITI
KRITI - avatar
+ 1
+ (x)
7th Nov 2021, 12:22 PM
Maha Mekawy
0
nothing is working for my answer on my quiz i really dont get it
16th Sep 2020, 6:53 PM
FRANKIE Ochoa
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?
16th Sep 2020, 7:12 PM
Jayakrishna 🇮🇳
0
What is the output of this code? x = 3 num = 17 print(num % x)
16th Sep 2022, 3:35 AM
Jeff Vélez