3 lines
71 B
Python
3 lines
71 B
Python
txt = "Some more text"
|
|
assert txt[-1] == "t"
|
|
assert txt[-4:] == "text"
|
txt = "Some more text"
|
|
assert txt[-1] == "t"
|
|
assert txt[-4:] == "text"
|