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

Flashcards

Untitled

vagueb English 40 cards

Cards in this deck (40)

  1. 1What is Bash?Bash is the shell or command line interpreter.
  2. 2"print"Print the expression.
  3. 3How to run a fileType: python filename.py
  4. 4#Tells python not to print a line of code.
  5. 5File name extension for python file.py
  6. 6+plus
  7. 7-minus
  8. 8*asterisk
  9. 9/slash
  10. 10%modulus
  11. 11<less-than
  12. 12>greater-than
  13. 13<==less-than-equal
  14. 14>==greater-than-equal
  15. 15Floating point numberA number with a decimal point e.g. 10.08
  16. 16Order of operations in the UKBIDMAS (Brackets, Indices, Division, Multiplication, Addition, Subtraction).
  17. 17Order of operations Python 2.6PEMDAS (Parentheses, Exponents, Multiplication, Division, Addition, Subtraction).
  18. 18Space between words in variable namesUnderscore or '_'
  19. 19What does the equals sign do?Assigns a value or name on the right to the variable on the left.
  20. 20==Tests if two things have the same value.
  21. 21Double quotes denote?A string
  22. 22Formatters%s %r %d
  23. 23How to write multiple formats in a string(milk, eggs, cheese, ham)
  24. 24/nnewline
  25. 25"""print multiple lines of code
  26. 26Escape sequence to print a new line/n
  27. 27Escape sequence for quotation marksUse single quotes inside double quotes and vice versa.
  28. 28/ttabbed characters
  29. 29Escape sequence double-quote/"
  30. 30\\print a backslash character
  31. 31raw_input functionPrompts the user for general input
  32. 3280 charactersHow long a Python line should be.
  33. 33pydocsearch through Python doc's and libraries installed on the computer
  34. 34%rused for debugging and a 'raw representation'
  35. 35%sformatter used for display
  36. 36closecommand to close a file
  37. 37readreads the contents of a file
  38. 38readlinecommand to read one line within a file
  39. 39truncateempties the contents of a file
  40. 40write('stuff')command to write 'stuff' into a file

Information

Description
Flashcards on Untitled, created by vagueb on 10/12/2014.
Created by
vagueb
Views
0
Rating

Feedback

What is it about?

What do you think of the new look?

How do you like it?