สถานะการส่งล่าสุด: -

SOS11: Indexing and Slicing

Indexing and Slicing

x = ['a', 'b', 'c', 'd', 'e', 'f']
a
print()

f

print()

['c', 'd', 'e']

print()

['f', 'd', 'b']

print()

['b', 'e']

print()

['a', 'c']

print()