Computer Science, asked by JOKER4114, 5 months ago

String slicing (4)

String ='ASTRING'

# Using indexing sequence

print(String[:3])

print(String[1:5:2])

print(String[-1:-12:-2])

print(String[::-1])​

Answers

Answered by kaurmanveer1997
0

Answer:

AST

SR

GITA

GNIRTSA

Explanation:

Similar questions