No description
  • TypeScript 68.8%
  • Python 31.2%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-08-22 11:57:37 +05:30
fun.py python functions 2023-01-04 21:52:24 +05:30
index.py python basics 2023-01-04 17:52:02 +05:30
pass.py python basics 2023-01-04 17:52:02 +05:30
README.md python basics 2023-01-04 17:52:02 +05:30
sample.ts Add sample.ts 2026-08-22 11:57:37 +05:30

Introduction

Python is an interpreter language, where the entire code is checked line by
line, the interpreter(cpython) converts source code into byte code and then runs that byte code in cpython vm and again converts into machine code and runs in our host machine.

Python2 vs Python3

Python3 comes with the major breaking changes from Python2, now Python2 
community support is completely broken and official security updates for python2 has completely stopped, so it is recommended to use Python3 now.

Datatypes

  • int
  • float
  • bool
  • str
  • list
  • tuple
  • set
  • dict

int and float

Int are numbers like 32,5,1,2 etc. Float are numbers with decimal like 1.4, 12.3, etc