¡GoConqr estrena diseño! Cuéntanos qué te parece.

Fichas

Python on creating good and bad signals

Natasha White ICT Year 9 Inglés 3 fichas

Fichas del conjunto (3)

  1. 1How do you start the program for a good and bad signal?good_signals = [ ]
    bad_signals = [ ]
  2. 2How do you add the for loop to traverse the list and print out each signal?good_signals = [ ]
    bad_signals = [ ]
    for item in signals:
    print (item)
  3. 3How do you put the if... else structures inside the loop?good_signals = [ ]
    bad_signals = [ ]
    for item in signals:
    if len (item) < 3:
    bad_signals.append (item)
    else:
    print ("more tests required")
    print (bad_signals)

Información

Descripción
Year 9 (Computational thinking) ICT Fichas sobre Python on creating good and bad signals, creado por Natasha White el 07/06/2021.
Creado por
Natasha White
Visitas
0
Valoración

Escríbenos

¿Sobre qué es tu mensaje?

¿Qué te parece el nuevo diseño?

¿Te gusta?