(prompt)
| 32 | return ret |
| 33 | |
| 34 | def get_number(prompt): |
| 35 | |
| 36 | res = None |
| 37 | while res is None: |
| 38 | try: |
| 39 | res = float(raw_input(prompt)) |
| 40 | except ValueError: pass |
| 41 | return res |
| 42 | |
| 43 | # First, ask the user to enter the lists |
| 44 | options = get_list("Enter your options:", "Option %d: ") |
no outgoing calls
no test coverage detected