Python whit lot of things, tools!
Python input improved version.
- Python input() function whit a lot of feature.
- This is a class it can imported any of you code.
- Arguments:
- Text of the input -> required
- The type of what gonna be returned -> str
- End of the input -> ": "
- Types:
- String -> str
- Integer -> int
- Float -> float
- Boolean -> bool
- List -> list
- Dictionaries -> dict
- Tuple -> tuple
- The input the user type in the type (arg) type (e. g. str, int)
- If you want to use it later, save it in a variable!
- Remove duplicated element from the list.
- Args:
- self
- list
- case "l" "low" "lower" or "u", "up" "upper"
- Place the class in you code start, when you import everything to your code.
- Use it like i say before! Have fun!