Home
Recent Q&A
Java
Cloud
JavaScript
Python
SQL
PHP
HTML
C++
Data Science
DBMS
Devops
Hadoop
Machine Learning
Azure
Blockchain
Devops
Ask a Question
What is the output when following code is executed ?
Home
Python
What is the output when following code is executed ?
0
votes
asked
Jun 13, 2019
in
Python
by
Derya
What is the output when following code is executed ?
>>> str1 = 'hello'
>>> str2 = ','
>>> str3 = 'world'
>>> str1[-1:]
a. olleh
b. hello
c. o
d. h
#python
#ball-python
#java
#python-tutorial
Python-questions-answers
Please
log in
or
register
to answer this question.
0
Answers
...