Posts by OnitramM • 21 points
2 posts
-
2
votes2
answers290
viewsA: Validation of input data using functions, Try and except
while True: try: number = int(input("Por favor, digite o seu número aqui e veja o que acontece: ")) except: print ("Por favor, insira somente números inteiros positivos")…
-
0
votes1
answer260
viewsA: Selling and Controlling Stock (Python)
How to solve this problem after choosing item 6: List products with an Index; Ask the user to choose an Indice number to change; Check if the chosen id is less than Len(choice) ... if yes, then the…