in Python by
Q:
What is the output when following code is executed ?

>>>str1="helloworld"
>>>str1[::-1]

a. dlrowolleh
b. hello
c. helloworld
d. world

▼ Show 1 Answer

0 votes
by

Answer: c
Explanation: Starts with checks if the given string starts with the parameter that is passed

Python
Learn More with Madanswer

Related questions

0 votes
asked Jun 13, 2019 in Python by Derya
...