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

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

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

1 Answer

0 votes
by

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

Related questions

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