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 statement is executed ?
Home
Python
What is the output when following statement is executed ?
0
votes
asked
Jun 13, 2019
in
Python
by
Derya
What is the output when following statement is executed ?
>>>"abcd"[2:]
a. a
b. cd
c. dc
d. ab
#python
#java
#ball-python
#python-tutorial
Python-questions-answers
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Nov 11, 2019
by
rajeshsharma
answer is CD
Your comment on this answer:
Email me at this address if a comment is added after mine:
Email me if a comment is added after mine
Privacy: Your email address will only be used for sending these notifications.
Related questions
0
votes
Q: What is the output when following code is executed ?
asked
Jun 13, 2019
in
Python
by
Derya
#python
#ball-python
#java
#python-tutorial
Python-questions-answers
0
votes
Q: What is the output when following code is executed ?
asked
Jun 13, 2019
in
Python
by
Derya
#python
#python-tutorial
#ball-python
#java
Python-questions-answers
0
votes
Q: What is the output of the following?
asked
Jun 13, 2019
in
Python
by
Derya
#python
#ball-python
#java
#python-tutorial
Python-questions-answers
0
votes
Q: What is the output of the following code ?
asked
Jun 13, 2019
in
Python
by
Derya
#python
#python-tutorial
#ball-python
#java
Python-questions-answers
0
votes
Q: What is the output of the following?
asked
Jun 13, 2019
in
Python
by
Derya
#python
#java
#python-tutorial
#ball-python
Python-questions-answers
0
votes
Q: What is the output of the following?
asked
Jun 13, 2019
in
Python
by
Derya
#python
#ball-python
#java
#python-tutorial
Python-questions-answers
0
votes
Q: What is the output of the following?
asked
Jun 13, 2019
in
Python
by
Derya
#python
#python-tutorial
#ball-python
#java
Python-questions-answers
0
votes
Q: What is the output of the following?
asked
Jun 13, 2019
in
Python
by
Derya
#python-tutorial
#python
#ball-python
#java
Python-questions-answers
0
votes
Q: What is the output of the following code ?
asked
Jun 13, 2019
in
Python
by
Derya
#python
#java
#python-tutorial
#ball-python
Python-questions-answers
0
votes
Q: What is the output of the following?
asked
Jun 13, 2019
in
Python
by
Derya
#python
#python-tutorial
#ball-python
#java
Python-questions-answers
...