Python Course Zero to Mastery Started at Udemy

Python ususally uses interpreter. Compiler are little bit different.

Interpret translates line by line.

Compiler takes all lines to machine code.

What is programming language? We give some instruction to translator. They tell the machine what to do. Translator can be interpreter or compiler.

Interpreter:

Compiler:

Python basics till numbers:

Double Slash in Python:


/ -> float division
//-> integer division

don’t memorize which available on the documentation

String type conversation.

Formatted String:

String Index

selfish[start:stop:stepover]

Immutabilty

Built in functions
Booleans

Software to find your current age with python:

#1 “old style” string formatting(% operator)

Source: https://realpython.com/python-string-formatting/

Template string ta pore kokhono hoyto dekhbo, ei ar ki

password length printing code from the course:

List

Matrix

list operations:

we can see the function from online documentation from the official site or other sites

 

 

 

 

Dictionary

Tuple:

Set:

set is an unordered collection of unique objects.

conditional.

 

Truthy and Falsy:

 

Exercise: Logical Operators

Equality

is vs == 
with using ‘is’ it needs to be refers to the same object

with == it needs to be equally same valued

for example:

 

 

Exercise: Counter will print item in list

Range

Enumerate:

while

 

break, pass, continue

Exercise:

Exercise:

Parameters and Arguments:

Return in python:

How it works:

without return it prints none:

 

with return it prints something that I insisted for:

Nested Return:

#issues with print and return

Exercise:

 

Exercise: To find even and max value from a list

 

Abstraction: private vs Public

 

Inheritance:

Polymorphism:

 

no amount of video is enough you have to learn by your way of development projects.

4 pillars in oop Encapsulation, Abstraction, Inherítance, Polymorphism

 

Now i am looking for another video from youtube to earn something about it.

Spread the love