πŸ“Š Python
Q. How many times the following loop will execute?
Code:
s1="flow of control in python"
for i in s1[1:5]:
   print()
  • (A) 5
  • (B) 4
  • (C) 3
  • (D) 2
πŸ’¬ Discuss
βœ… Correct Answer: (B) 4

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
257
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Manisha Agrawal
Publisher
πŸ“ˆ
88%
Success Rate