Question 1 - Week 5 Practice | Prasnya
Prasnya
Continue with Google
Practice path
Dashboard
Exam
Qualifier / Quiz 1
Go to subject
Programing with python
Go to chapter
Week 5
Question 1
00:00
Est. 2 min
Marks:
+4.00
0.00
Consider the following Python code. How many lines will be printed when this code is executed? ``` for i in range(1, 6): for j in range(1, 6): for k in range(1, 2): if i == j: print("-") else: print("*", end=" ") print("+") ```
Integer answer
Medium Difficulty
26 October 2025
Your answer