Post

Python Programming
Python Programming@PythonPr·
Python Question / Quiz; What is the output of the following Python code, and why? Comment your answers below!
Python Programming tweet media
English
39
9
117
20K
Kamal Gurjar
Kamal Gurjar@KamalGurjar8·
@PythonPr Output: y Because print("y") prints the literal string y (not the variable Y). Even though Y becomes 8, it’s never printed.
English
0
0
2
1.3K
Omo Yewa
Omo Yewa@AceKelm·
@PythonPr The answer is not in the options. It returns y.
English
0
0
0
53
FuryBlade
FuryBlade@Fireblade443591·
@PythonPr Is this image or quiz generated by IA as a clickbait?
English
0
0
0
38
exploder.exe
exploder.exe@michikusamichi·
@PythonPr NO SOLUTION (this script outputs ----- y ----- , not ----- Y ----- )
English
0
0
0
24
Hermanos
Hermanos@jaymo_Marubu·
@PythonPr It throws a name error variable "y" is not defined
English
0
0
0
111
mohamed
mohamed@mohamed74175913·
@PythonPr You'll print the same letter Y
English
0
0
0
13
Paylaş