Aug-02-2020, 01:20 PM
How would you do it yourself? Just imagine step by step how you would do that and then code all those steps in Python.
Just for a start, here is how you can inspect a string letter by letter.
Just for a start, here is how you can inspect a string letter by letter.
input_string = "abracadabra" for letter in input_string: print(letter) # but here you would have to add your own logic.