Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kinshuk-code-1729/python-training-notebooks

This repository contains jupyter notebooks of python snippets day-wise made during my python training.
https://github.com/kinshuk-code-1729/python-training-notebooks

colab-notebooks jupyter-notebook python

Last synced: about 2 months ago
JSON representation

This repository contains jupyter notebooks of python snippets day-wise made during my python training.

Awesome Lists containing this project

README

        

This repository contains jupyter notebooks day-wise made during my python training.

![Python](https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcS89cNeTnhyEfYA3vXLEDCLX4UetMGFc2_F9A&usqp=CAU)
# ✨ *Various Topics Covered Day Wise* 👇👇

## 🎇🎇 Day 1 🎇🎇
- **Introduction to Python.**
- **Advantages, Limitations and Applications of Python.**
- ***id( )* function, *type( )* function.**
- **Different ways to give inputs in python :**
- ***split( )* method.**
- **hardcode.**
- **user-defined.**
- **variable length.**
- **packing & unpacking.**
- **Various Programs like :**
- **To find greater number between two numbers.**
- **Swapping with and without 3rd variable.**
- **Check whether an year is a *leap* year or not.**
- ***Factorial* of a number.**
- **Check whether a number is *prime* number not.**
- **Table printing interview question from *Wipro.***
- **Covered *conditional statements* & *looping statements* like :**
- ***if-else* statement.**
- ***if-elif* statement.**
- ***for* loop with *range( )* function.**
- ***for-else* statement.**
- ***break* and *continue* statements.**
- ***while* loop.**
- **Used two modules :**
- ***platform* module.**
- ***abhiprime* module.**

## 🎇🎇 Day 2 🎇🎇
- **Program and concepts of :**
- ***LCM.***
- ***HCF.***
- **Add the digits of any number.**
- **Basic nested-loop *asterisk* patterns.**
- **Lists in python**
- **3 methods of adding elements in list.**
- **4 methods of removing elements in list.**
- **Programs of list.**
- **List Comprehension.**
- **One program asked in *Microsoft Interview.***

## 🎇🎇 Day 3 🎇🎇
- **Strings :**
- **Single, Double & Triple quoted Strings.**
- **Various String-Manipulation Methods (String Attributes) :**
- ***lower( )***
- ***upper( )***
- ***title( )***
- ***capitalize( )***
- ***swapcase( )***
- ***replace( )***
- ***Indexing* in Strings.**
- ***Lists* and *Strings* as *datatypes.***
- **Programs of :**
- **To check whether a String is *Palindrome* or not.**
- **Program with comma separated output with no comma after *last* value.**
- **Finding sum of digits upto *single digit* sum.**
- **Removing *duplicate* elements from a list and insert *unique* elements in the new list.**
- ***Fibonacci Series* from any two user defined numbers.**
- ***Facebook Interview* question of adding *digits* of *list-elements.***

## 🎇🎇 Day 4🎇🎇
- **List attributes :**
- ***count( )***
- ***len( )***
- ***index( )***
- ***sum( )***
- **String attributes :**
- ***strip( )***
- ***lstrip( )***
- ***rstrip( )***
- ***startswith( )***
- ***endswith( )***
- ***isdigit( )***
- ***isalpha( )***
- ***isalnum( )***
- ***Enumerate* function in Python**
- **Some Programs of:**
- ***Calculate average of a list elements. List is not directly given. First create a space separated elements in a list using code and then calculate average using list Comprehension.***
- ***Remove common elements from two lists and store them in a separate list.***
- ***Find the index of repeated elements in a list and store those index positions in another list.***
- ***Facebook Interview* Question :**
- ***There are 2 lists. Find the index position in the first list of the elements given in the 2nd list and store them in a 3rd list.***

## 🎇🎇 Day 5 🎇🎇
- ***Dictionaries* in Python *(version 3.7.10)*.**
- **Various *Dictionary* Methods :**
- ***len( )***
- ***keys( )***
- ***values( )***
- ***items( )***
- ***get( )***
- ***sorted( )***
- ***update( )***
- ***pop( )***
- ***del***
- **Concept of *Default-Dictionary* using *defaultdict* method of *collections* module.**
- ***Zipping* and *unzipping* of a *dictionary.***
- **Conversion of a *list* into a *dictionary* using *zip( )* function.**
- **Dictionary Comprehension.**
- **Programs :**
- ***To check whether a key is present in a dictionary or not.***
- ***To print the contents of the dictionary whose key is greater than 3 and key when divided by 3 has remainder 0, using dictionary comprehension.***

## 🎇🎇 Day 6 🎇🎇
- **Sets in Python.**
- **Empty set creation.**
- **Operations on a set :**
- ***Union***
- ***Intersection***
- ***Symmetric difference***
- ***Difference***
- **Set Attributes :**
- ***isdisjoint( )***
- ***issubset( )***
- ***issuperset( )***
- ***len( )***
- ***add( )***
- ***remove( )***
- ***discard( )***
- ***pop( )***
- ***clear( )***
- **Augmented Operators.**
- **Frozenset.**
- **Set Comprehension.**

## 🎇🎇 Day 7 🎇🎇
- **Functions in Python.**
- **Arguments vs Parameters.**
- **Types of arguments.**
- **Types of scopes :**
- ***local***
- ***enclosed***
- ***global***
- ***built-in***
- **LEGB Rule.**
- **Non-local, global and globals keyword.**
- **First Class Functions.**
- **Closure Functions.**
- **Decorators.**
- **Pass by value and Pass by reference in Python.**

## 🎇🎇 Day 8 🎇🎇
- **Anonymous Functions :**
- ***lambda***
- ***map***
- ***filter***
- ***reduce***
- **Generators :**
- ***Tuple Comprehension.***
- ***Yield.***
- ***Advantages of generator functions.***
- ***Program to print fibonacci using yield.***
- **Exception Handling :**
- ***try block.***
- ***except block.***
- ***finally block.***
- ***try with break.***
- ***exception with continue.***
- ***finally with continue.***
- **Complete strings and two programs asked in *Competitive Exams.***

## 🎇🎇 Day 9 🎇🎇
- **Some Frequently asked programs in *Python Interviews* / written exams :**
- **To find largest number from a list without using *max( )* method.**
- **To find index position of given element in the list without using *index()* method.**
- **Find the *middle* element of list.**
- ***American Keyboard Row Problem.***
- ***Integer* to *Roman* number conversion.**
- **To find the *first repeating character* in a string.**
- **To find *LCM* of *'n'* numbers.**
- **Basics of File handling using python and various file operational modes :**
- ***Read Mode.***
- ***Write Mode.***
- ***Append Mode.***

## 🎇🎇 Day 10 🎇🎇
- ***Class* and *Object* definitions.**
- **Creation of a *class* in Python.**
- **Difference between a *function* and a *method*.**
- **Object creation.**
- **Accessing class attributes using *getattr( )* and *setattr( )* methods.**
- **Deleting class attributes using *delattr( )* method.**
- **Need of *self function.***
- **Initializing an attribute of a class using *init* method.**
- **Inheritance :**
- ***Multiple Inheritance.***
- ***Method Resolution Order (mro).***
- **Concept of *Encapsulation* and *Access Specifiers* in Python :**
- ***public.***
- ***private.***
- ***protected.***
- ***Name Mangling.***
- **Why Python is not a *pure Object-Oriented Programming* Language ???**
- **Concept of *Polymorphism* :**
- ***Method Overloading.***
- ***Method Overriding.***
- ***Function Overloading.***
- ***Operator Overloading.***

## 🎇🎇 Day 11 🎇🎇
- **Duck Typing.**
- **Monking Patching.**
- **Destructors.**
- **Abstraction.**
- **Inheritance.**
- **Various Methods in Python :**
- ***Instance Method.***
- ***Class Method.***
- ***Static Method.***
- **Numpy Module :**
- **Creation of Single and Multi-Dimensional Arrays.**
- **Reshaping the Arrays.**
- **Various Array Methods :**
- ***zeros***
- ***ones***
- ***eye***
- ***diag***
- ***linalg.det***
- ***linalg.inv***
- ***sum***
- **Conversion of 'n' dimensional arrays into single dimensional array :**
- ***flatten( )* method.**
- ***ravel( )* method.**
- **Some Operations on Matrices.**
- **Broadcast.**
- **Drawbacks of Numpy Module.**
- **Textual representation of an object.**
- ***repr* method.**
- ***str* method.**
- **Why *mutable data structure* shouldn't be used as *function parameters* ???**

## 🎇🎇 Day 12 🎇🎇
- ***LBYL*(Look Before You Leap) vs *EAFP(Easier to Ask Forgiveness)***
- **Iterator and Iterables**
- **Regular Expression**

## 🎇🎇 Day 13 🎇🎇
- **10 programs asked in different interviews**
- **Different features of version**
- ***3.8***
- ***3.9***
- ***3.10***