Python basics
  • Introduction
  • Print function, strings, variables and development environment
  • Data types and operators in Python
  • Assignment 1
  • Getting user input and commenting
  • If/Elif/Else Conditions
  • Assignment 2
  • Data Structures
  • Loops
  • Assignment 3
  • Functions
  • Errors and Exceptions
  • Assignment 4
  • Object Oriented Programming
  • Manipulating files
  • Assignment 5
  • Modules
  • Installing packages
  • Scope
  • String formatting and List slicing
  • Ternary operators , *args and **kwargs
  • Guidelines for writing Pythonic Code
  • The End
Powered by GitBook
On this page

Was this helpful?

Assignment 2

Create a simple calculator that can handle addition, subtraction, multiplication and division.

Points to recall:

  • If, elif and else statements

  • Comparison operators

  • Logical operators

  • input() and print()

Good luck!

PreviousIf/Elif/Else ConditionsNextData Structures

Last updated 6 years ago

Was this helpful?