πŸ“Š Python
Q. What will be the output of the following Python code?
Code:
x = 'abcd'
for i in x:
    print(i.upper())
  • (A) a b c d
  • (B) A B C D
  • (C) a B C D
  • (D) error
πŸ’¬ Discuss
βœ… Correct Answer: (B) A B C D

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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