Posts by Gael • 23 points
1 post
-
1
votes3
answers193
viewsQ: Take values less than or equal to 500 from the list - Python
Code: acid_vit_lista = [100,500, 200, 230, 400, 500, 600, 700, 900, 2000, 1100] acid_vit_dig = int(input('\nNumero de acidentes de transito: ')) res_acid = (acid_vit_lista[num_dig])# num_dig foi da…