πŸ“Š Python
Q. What will be the output of the following code?
Code:
x = "abcdef"

i = "i"

while i in x:

    print(i, end=" ")
  • (A) a b c d e f
  • (B) abcdef
  • (C) i i i i i.....
  • (D) No Output
πŸ’¬ Discuss
βœ… Correct Answer: (D) No Output

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
141
Total Visits
πŸ“½οΈ
3 y ago
Published
πŸŽ–οΈ
Ram Sharma
Publisher
πŸ“ˆ
82%
Success Rate