Flashcards
Python Flashcards
Cards in this deck (21)
- 1InputsUsed for users to interact with programs and store data in variables.
- 2VariableA reserved memory location to store values and data.
- 3FunctionsCommands that preform actions.
- 4IndexIndex refers to the position of a data object in a list.
- 5StringText set to a variable.
- 6IntegersWhole numbers stored using binary.
- 7FloatsDecimal numbers stored using floating point binary.
- 8'if' StatementNot a function. It is given a condition on what to do if a variable is true or false.
- 9ElseUsed after if. It runs code if the condition wasn't true.
- 10ElifShort for 'else if.' Can be used to add another condition to an if command.
- 11While loopsIf a statement is true, the code will keep running unless prompted otherwise.
- 12For loopUsed for executing a set of statements, once for each item in a list, tuple, set, etc.
- 13'for (variable) in range ()'Runs code a certain amount of times using 'range().'
- 14ListA sequence of mutable (changeable) python objects.
- 15TupleA list of immutable(unchangeable) python objects.
- 16==Equal to
- 17!=Not equal to
- 18<Less than
- 19>Greater than
- 20<=Less than or equal to
- 21>=Greater than or equal to
Information
- Description
- GCSE Computing Flashcards on Python Flashcards, created by Max Morris on 18/03/2019.
- Created by
- Max Morris
- Views
- 0
- History
-
- Created by Max Morris · Mar 18, 2019
- Copied by Max Morris · Mar 18, 2019
- Rating