(item, question_string, lower_limit)
| 42 | # Picks a number that is at least of a certain size. |
| 43 | # That means in this program, the dices being possible to use in 3 dimensional space. |
| 44 | def pickNumber(item, question_string, lower_limit): |
| 45 | while True: |
| 46 | item = input(question_string) |
| 47 | item = checkInput(item) |
| 48 | if type(item) == int: |
| 49 | if item <= lower_limit: |
| 50 | print("Input too low!") |
| 51 | continue |
| 52 | else: |
| 53 | return item |
| 54 | |
| 55 | |
| 56 | # Main-function of the program that sets up the dices for the user as they want them. |
no test coverage detected