You are not logged in.

#1 2017-12-08 04:49:31

hamidoon123
Moderator
Registered: 2017-09-21
Posts: 50,766

What is the output when following statement is executed? >>>"abcd"...

Software Engineering Exams Quizzes MCQs Quizzes Python Online MCQs Test

Question:
What is the output when following statement is executed?
>>>"abcd"[2:]

Option A):
a
Option B):
cd
Option C):
dc
Option D):
ab

Correct Answer is Option B):
cd

2017-12-08 04:49:31

Advertisement
Ads By Google

Re: What is the output when following statement is executed? >>>"abcd"...



\n

Board footer