Python Programming with 100% correct answers
Comment - # allows you to make a comment on your code Lists - A list stores a series of items in particular order. You can access these items using an index or loop. Lists can be modified Example bikes = ['trek', 'redline', 'giant'] Tuples (tuple) - Tuples are similar to lists, but items in tuples cannot be modified IF statements - "IF" statements are used to test for particular conditions and respond accordingly. Example: equals x == 42 not equal x != 42 greater than x > 42 or equal to x >= 42 less than x < 42 or equal to x <= 42
Geschreven voor
- Instelling
- Programming for python language..
- Vak
- Programming for python language..
Documentinformatie
- Geüpload op
- 25 december 2023
- Aantal pagina's
- 3
- Geschreven in
- 2023/2024
- Type
- Tentamen (uitwerkingen)
- Bevat
- Vragen en antwoorden
Onderwerpen
-
python programming with 100 correct answers