Python Daily Question - 101

Опубликовано: 31 Май 2026
на канале: coding_with_mani
12
1

Python Daily Question - 101

Explanation:-

1. Outer Loop:
The outer loop runs from 0 to 0 (inclusive), iterating 1 time (i will take the value 0).
for i in range(0, 1):
2. Inner Loop:
The inner loop runs from 2 to 2 (inclusive), iterating 1 time (j will take the value 2).
for j in range(2, 3):
3. Print Statement:
Inside the inner loop, the string "Mani" is printed.
print("Mani")

Step-by-Step Iterations and Calculations:

First (and only) Iteration of the outer loop (i = 0):
First (and only) Iteration of the inner loop (j = 2):
The print statement is executed, and "Mani" is printed.

Output:
Since the print statement is executed exactly once, the output will be: Mani

So, The Final Answer = Mani


#coding_with_mani #python #code #viral #youtubeshorts #shorts #short #youtube #code #india #code #viral #youtubeshorts #shorts #short #youtube #code #india
#pythonquestions #python #coding #youtube #pythonprogramming #code #programminglanguage