You are not logged in.

#1 2017-12-08 04:55:37

shakeel123
User RankUser RankUser RankUser RankUser RankUser Rank
Moderator
Registered: 2017-09-21
Posts: 50,796

What is the output of the following? x = 'abcd'for i in x:prin...

Software Engineering Exams Quizzes MCQs Quizzes Python Online MCQs Test

Question:
What is the output of the following?
x = 'abcd'
for i in x:
print(i)
x.upper()

Option A):
a b c d
Option B):
error
Option C):
a B C D
Option D):
A B C D

Correct Answer is Option A):
a b c d


Top Exams Quizzes MCQs And Interview Questions With Answers Forum:
http://www.globalguideline.com/forum/

2017-12-08 04:55:37

Advertisement
Ads By Google

Re: What is the output of the following? x = 'abcd'for i in x:prin...



Board footer