Skip to content

nabeelnazeer/Python-Lab

 
 

Repository files navigation

Python-Lab

Day 1

  1. Hello World
  2. The print()
  3. Variables and data-types
  4. Operators
  5. Program(s) - sum and average of three numbers

Day 2

  1. Boolean and Relational Operators
  2. Strings
  3. Branching - if, if-else and if - elif
  4. Program(s) - greatest of 2 numbers, positive negative or zero

Day 3

  1. range()
  2. for loop
  3. Nested for loop
  4. While
  5. Nested while
  6. Program(s) - find the sum of odd numbers less than 100, print the factors of a number, prime or not, different patterns

Day 4

  1. Containers
  2. List
  3. Iterating list
  4. List comprehension
  5. Program(s) - list comprehension example

Day 5

  1. Containers - Part 2
  2. Dictionary
  3. Tuple
  4. Set
  5. Program(s) - Remove duplicates in a list

Day 6

  1. Functoins
  2. global variables
  3. Functions calling functions
  4. Default parameters
  5. Program(s) - using functions average of 3 numbers, swapping variables, prime or not, print primes

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 100.0%