πŸ“Š 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) error
  • (D) A B C D
πŸ’¬ Discuss
βœ… Correct Answer: (D) A B C D

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
186
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Neha Sharma
Publisher
πŸ“ˆ
96%
Success Rate