GoConqr has a new look! Let us know what you think.

Flashcards

Python Flashcards

Max Morris English 21 cards

Cards in this deck (21)

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

Information

Description
Flashcards on Python Flashcards, created by Max Morris on 18/03/2019.
Created by
Max Morris
Views
0
Rating

Feedback

What is it about?

What do you think of the new look?

How do you like it?