πŸ“Š Python
Q. Write the output of the following code
Code:
x = "Welcome to my blog"
j = "i"
while j in x:
     print(j)
  • (A) No Output
  • (B) Print “i” infinite times
  • (C) Error
  • (D) print ‘i’ five times
πŸ’¬ Discuss
βœ… Correct Answer: (A) No Output

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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