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 1

Hey, to test your python skills so far, I'll take a real simple test.

Assignment:

Create a variable containing your name and another containing your age. Multiply your age by 3 and divide by 2 and save to a new variable called new_age . Print your name and your age.

PreviousData types and operators in PythonNextGetting user input and commenting

Last updated 6 years ago

Was this helpful?