You are not logged in.

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

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

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

Software Engineering Exams Quizzes MCQs Quizzes Python Online MCQs Test

Question:
What is the output when following code is executed?
>>>str1="helloworld"
>>>str1[::-1]

Option A):
World
Option B):
Helloworld
Option C):
Hello
Option D):
Dlrowolleh

Correct Answer is Option D):
Dlrowolleh

2017-12-08 04:54:11

Advertisement
Ads By Google

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



Board footer