Posts by Pedro Marinho • 16 points
2 posts
-
0
votes2
answers73
viewsA: how to print words with 7 or more than 7 letters in python
It is only to do a go in each name and print it if you obey the rule by placing an if inside it: def imprime_nome_com_7_letras(nomes): print("nomes com mais de 7 letras") for nome in nomes:…
pythonanswered Pedro Marinho 16 -
0
votes2
answers49
viewsA: Java - Calculating the value of hours for the person responsible for an event
Create a variable to store the total value of everything. A good practice is also to use foreach for lists, in addition to equals to compare strings, this way: float valorTotalporHora; for(Palestra…