Fichas
Python on creating good and bad signals
Fichas del conjunto (3)
- 1How do you start the program for a good and bad signal?good_signals = [ ]
bad_signals = [ ] - 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) - 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