What will be the output of the following Python code?

str1 = 'hello'

str2 = ','

str3 = 'world'

str1[-1:]

1
olleh
2
hello
3
h
4
o

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation