I have the following string: "aaaabbbb"

How can I get the last four characters and store them in a string using Python?

2 s
2

Tags:

Leave a Reply

Your email address will not be published. Required fields are marked *