string tanaman python

text = "abc"
truncated_text = text[0:2]

print(truncated_text)
# Output
ab
Abstraction Mage