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

>>> str1 = 'hello'
>>> str2 = ','
>>> str3 = 'world'
>>> str1[-1:]

a. olleh
b. hello
c. o
d. h

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
0 votes
asked May 17, 2019 in Python by Derya
0 votes
asked Jun 13, 2019 in Python by Derya
...