Flashcards
Python on creating good and bad signals
Cards in this deck (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)
Information
- Description
- Year 9 ICT (Computational thinking) Flashcards on Python on creating good and bad signals, created by Natasha White on 07/06/2021.
- Created by
- Natasha White
- Views
- 0
- Rating