Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- string = input("Prompt: Enter a two digit number")
- if len(string) == 2:
- print("The length is 2 digits long")
- print(type(string), "This it a type statement ")
- print(string, "This it a print statement ")
- print(string[-1:1], "This it a this is string[-1,1] statement ")
- else:
- print("apparently size does matter")
- status = False
Advertisement
Add Comment
Please, Sign In to add comment