You are not logged in.

#1 2017-12-08 04:54:51

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

What is the output when following code is executed? >>> str1 = '...

Software Engineering Exams Quizzes MCQs Quizzes Python Online MCQs Test

Question:
What is the output when following code is executed?
>>> str1 = 'hello'
>>> str2 = ','
>>> str3 = 'world'
>>> str1[-1:]

Option A):
O
Option B):
hello
Option C):
olleh
Option D):
H

Correct Answer is Option A):
O


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

2017-12-08 04:54:51

Advertisement
Ads By Google

Re: What is the output when following code is executed? >>> str1 = '...



Board footer