You are on page 1of 3
110723, 403 AM Resposta_f print(*PROGRAMA DE CALCALO 00 DESCONTO BLACK FRIDAY") un lojas = int(input("Ee quantas lojas 0 cLiente entrou? *)) roniante = float(input("qual @ 0 montante gasto? ")) esconto = 3¥num_lojas + 7Pine¢(nontante/56)) print(f"vavolva {éesconto) euros a0 cliente") En qantas Tejas o cliente entrou? 3 (ual eo montante gastor 3¢ Bevolvs 9 euros 30 cliente N= EmeCAnput( Menara de ausdrados: ?*)) 2 = print¢n b> prineqnr"| | = prinequrntant 9) Munero ce quacrades: 27 uencia_80/11/2022 ipyno- Colaboratory rt + Code | + Text AL sto} ‘or 5 in range(s) msl 8) print y 12, 6, 6), f@ @) e1) > Inicializacao da matriz a Zeros AS eo} for Sin range nse oie srirecad [9.0 9, 8. 8 8 8) {0, 9, 8, 6, 88, 8) Ieee eel fron randon import randint for $n ranges) "or Jin angst): UA} = ranch, 19) serine) tepace before print Snfluenced the mabers order [p7, 86, 42, 3, 28, 23, 2) [5, 2, 65, 77, 98, 96, 288] 157, 37, 69, 93, 54, a8, 7 [e3, 2,'48," 98, 41,'67, 38), for 4 An range(a) “or 4 an range(: Dprint(%6d" 8 ALSTEITe ene") pein) npe:ieolab research google. convdrvel1GJS' L,2moIMMxBF WIUKNELTK¢ 1HprntModo=true oe 110723, 403 AM RResposta_Frequencia_90!11/2022.ipynb- Colaboratory Sk mS for 4 An range(den(a)) ‘or 4 An range(len(a(e))) print "6d" 8 AfS1E3T» endo") pein) 14, Cre um programa que escreve um tabulera de caracteres NxN for 4 An range (N) prince ranean] 7 1) printeyenst 6 "4° prin) A 8 COE FG HD for i in range (8): print(™ "Ms prsneaes, wen I) prints ie punt? Aa co GW) ‘ntps:olab research google. com/drva/1GiS' 2molMMxBEWIUKNELTKoeMSQAFZ7authuser=t#prniMode=true 28 110723, 403 AM RResposta_Frequencia_90111/2022.ipynb- Colaboraiory ‘ntps:olab research google. com/drva/1GiS' 2moIMMXBEWIUKNELTKoeMSQAFZ7authuser=1#prniMode=true 33

You might also like