Python Coding challenge - Day 45 | What is the output of the following Python code? Solutions - clcoding.com/2023/10/python…

clcoding's tweet image. Python Coding challenge - Day 45 | What is the output of the following Python code? 
Solutions - clcoding.com/2023/10/python…

Each loop iteration prints the number twice: once on a new line and once space-separated. The loop breaks when a number is 30 or above. So, it prints 10, 20, and 30 before breaking, leading to the output '10 20 30' (A). #PythonGiants


United States Trends
Loading...

Something went wrong.


Something went wrong.