Post

Python Developer
Python Developer@PythonDvz·
Comment below the output! 😃👇
Python Developer tweet media
English
0
0
0
23.7K
Earnest Codes
Earnest Codes@Earnesto037·
@Python_Dv Note that the code contains a syntax error in the else line due to a missing closing double quote (print("world)). Assuming this is a minor typo and the code is meant to be runnable, the logical output based on the value of n and the conditional logic is the string world.
English
0
0
0
1.8K
Kamal Gurjar
Kamal Gurjar@KamalGurjar8·
@Python_Dv Output: ❌ Error The code won’t run as written. print("world) is missing the closing quote, so Python throws a SyntaxError. If the quote were closed, the output would be world.
English
0
0
0
1.2K
TJNAI
TJNAI@tjnai_ai·
@Python_Dv Missing the closing quotation mark and questioning the indentation. Technically, syntax error.
English
0
0
0
1.7K
8GOD_Pedri
8GOD_Pedri@8GODpedri·
@Python_Dv Wish such questions had come up in my CS board exam
English
0
0
0
458
Paylaş