Post

Python Programming
Python Programming@PythonPr·
Python Quiz: What is the output of the following Python code?
Python Programming tweet media
English
34
4
77
10.2K
Coding Computing Coach
Coding Computing Coach@CodingComputing·
@PythonPr Answer: world Solution: n is initialized to the value 20. Then, there is an if-statement with an equality check condition. It compares n with 15. Since n is 20, the condition is False. Therefore the else-block is executed. That prints world.
English
0
0
1
141
Paylaş