Computer Science, asked by userlinux4444, 5 months ago

what is the output of this python code?:

x = "python"
print(x[3:0:-1])​

Answers

Answered by gvs1216
0

Answer:

hty

Explanation:

x = "python"

print(x[:0:-1])

o/p: nohty

x = "python"

print(x[3:0:-1])

o/p: hty

Similar questions