av Fabio Barbosa 1 år siden
99
Mer som dette
Make a weekly plan, fill in each task and then check them off as the week advances.
Friday
We all love Friday! And it's finally here. Look back at what you've managed to achieve this week and check what's in the pipeline for today.
Check out the examples below and see if any of them is a good fit.
Free time
Check out the examples below and see if any of them is a good fit.
Work
for tabuada in range (1,11,1): print('TABUADA do {}:'.format(tabuada)) for i in range (1, 11, 1): print('{} * {} = {}'.format(tabuada, i, tabuada * i))
tabuada = 1 while (tabuada <= 10): print('TABUADA do {}:'.format(tabuada)) i = 1 while (i <= 10): print('{} * {} = {}'.format(tabuada, i, tabuada * i)) i += 1 tabuada += 1
Check out the examples below and see if any of them is a good fit.
Personal
Thursday
Happy Thursday! Hang in there, Friday will come before you know it. Think back to all the tasks scheduled for this week and see what else is left for today.
Consider the following examples and write your own list of duties.
Free time
Subtopic
PASSO do iterador
for - (ÚLTIMO 1)
while - x = x + 1
O Valor FINAL do iterador
for - (6):
while - (x < 6):
O Valor INÍCIAL do iterador
for - (PRIMEIRO 1)
while - X = 1
x = 1 while (x < 6): print(x) x = x +1
for x in range(1, 6, 1): print(x)
Consider the following examples and write your own list of duties.
Work
Consider the following examples and write your own list of duties.
Personal
Wednesday
Wednesdays are like Mondays in the middle of the week, they say. You're halfway through the week, see what plans you have set for today.
nome = '' while (not nome): #o #not significa que estou #negando a #quantidade de vezes que o nome deve ser #repetido. nome = input('Digite seu nome: ') valor = int(input('Digite um número qualquer: ')) if (valor):#se valor print('Você digitou um valor diferente de zero.') else: #se não print('Você digitou zero.')
while True: nome = input('Qual o seu nome? ') if (nome != 'Fábio Barbosa'): #if significa SE. continue senha = input('Qual a sua senha? ') #continue para funcionar a #senha tem que está #indentado com o #if. if (senha == '1973'): #aqui a #senha deve está entre #aspas. break print('Acesso concedido.')
print('Digite uma mensagem que irei repetir para você! ') print('Para encerrar escreva "SAIR".') while (True): #aqui criei um lop infinito. texto = input('') print(texto) if (texto == 'sair'): break #com um #break, eu quebrei o laço infinito criado pelo while True. print('Encerrar o programa...')
Choose from the examples below or add your own.
Free time
Tuesday
You got through Monday! Congratulations! Now let's see what tasks are in the pipeline for today.
soma = 0 cont = 1 while (cont <= 5): x = float(input('Digite sua NOTA: ')) soma = (soma + x) cont = (cont + 1) media = (soma / 5) print('Média final: {:.2f}'.format(media))
See the following examples and complete the list of tasks for Tuesday.
Work
É o memo de fazer x < 100
See the following examples and complete the list of tasks for Tuesday.
Personal
Monday
A fresh start, a clean slate, and a lot of potential for great things to come. That is what Mondays really are!
Begin your week with a good plan in mind and follow the guidelines to organize the week ahead.
See the examples below and think of your to-do's for Monday. Add more tasks if necessary.
Work
loop ou looping em um software é como uma instrução que fica se repetindo até que uma determinada condição seja contemplada.
See the examples below and think of your to-do's for Monday. Add more tasks if necessary.
Personal