Python Crop String
text = "abc"
truncated_text = text[0:2]
print(truncated_text)
# Output
ab
Abstraction Mage
text = "abc"
truncated_text = text[0:2]
print(truncated_text)
# Output
ab