Second steps

  1. Modules
  2. A main function
  3. The main function - called
  4. Indentation
  5. Conditional main
  6. Input - Output I/O
  7. print in Python 2
  8. print in Python 3
  9. print in Python 2 as if it was Python 3
  10. Exception: SyntaxError: Missing parentheses in call
  11. Prompting for user input in Python 2
  12. Prompting for user input in Python 3
  13. Python2 input or raw_input?
  14. Prompting both Python 2 and Python 3
  15. Add numbers entered by the user (oups)
  16. Add numbers entered by the user (fixed)
  17. Can we convert a string to int or float?
  18. How can I check if a string can be converted to a number?
  19. Converting string to int
  20. Converting float to int
  21. How can I check if a string can be converted to a number?
  22. Conditionals: if
  23. Conditionals: if - else
  24. Divide by 0
  25. Conditionals: if - else (other example)
  26. Conditionals: else if
  27. Conditionals: elif
  28. Ternary operator (Conditional Operator)
  29. Case or Switch in Python
  30. Exercise: Rectangle
  31. Exercise: Calculator
  32. Exercise: Age limit
  33. Exercise: What is this language?
  34. Exercise: Standard Input
  35. Solution: Area of rectangle
  36. Solution: Calculator
  37. Solution: Calculator eval
  38. Solution: Age limit
  39. Solution: What is this language?
  40. STDIN vs Command line arguments
  41. Command line arguments
  42. Command line arguments - len
  43. Command line arguments - exit
  44. Exercise: Rectangle (argv)
  45. Exercise: Calculator (argv)
  46. Solution: Area of rectangle (argv)
  47. Solution: Calculator (argv)
  48. Solution: Calculator eval
  49. Compilation vs. Interpretation
  50. Is Python compiled or interpreted?
  51. Flake8 checking
  52. Pylint checking