Consider the String-str2=”Hello Everyone”
A) Find the output of-str2[:]
B) Find the output of-str2[:7]
C) Find the output of-str2[7:]
D) Find the output of-str2[-11:-3]
E) Find the output of-str2[-2:-9:-1]
F) Find the output of-str2[-4:-10:-2]
Answers
Answered by
2
1) Hello Everyone
2) Hello E
3) veryone
4) lo Every
5) noyrevE
6) yeE
Answered by
2
Question:-
- Write the output of the following code.
Output:-
- Hello Everyone
- Hello E
- veryone
- lo Every
- noyrevE
- yeE
Similar questions