| 12345678910 |
- import os
- # Clear screen
- os.system("clear") # Mac or Linux
- #os.system("cls") # Windows
- userInput = input("Input a string: ")
- # Use len function to determine length of userInput
- print("User input", userInput, "is", len(userInput), "characters long.")
|