πŸ“Š Python
Q. What will be the output of the following Python code?
Code:
x = "abcdef"
i = "i"
while i in x:
    print(i, end=" ")
  • (A) no output
  • (B) i i i i i i …
  • (C) a b c d e f
  • (D) abcdef
πŸ’¬ Discuss
βœ… Correct Answer: (A) no output

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
202
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Vaibhav Shukla
Publisher
πŸ“ˆ
82%
Success Rate