Python Master
home>python
login next paython roadmap 🚦🚗
https://org/learn-python-tutorial/
__to edit
https://broadway-kochi.blogspot.com/p/python.html
Create a BIM calculating program using function:
def BIM(w, h):
div= w/h**2
return div
w=int(input("Enter the W : "))
h=float(input("Enter the H : "))
BIM(w, h)
print("Bim is : ", BIM(w, h))
output:
Enter the W : 70
Enter the H : 1.70
Bim is : 24.221
def BIM(w, h):
div= w/h**2
return div
try: w=int(input("Enter the W : "))
h=float(input("Enter the H : "))
BIM(w, h)
print("Bim is : ", BIM(w, h))
except:
print('Error...')
finally:
print("have a Nice day (Y)")
output:
Enter the W : 0
Enter the H : 0
Error...
have a Nice day (Y)
file=open("deme.txt", 'w')
file.close()
file=open("deme.txt", 'r')
welcome=file.read()
print(welcome)
file.close()
welcome=file.readile()
welcome=file.read(5)
file=open("deme.txt", 'w')
txt=file.write("Hellow world")
file.close()
file=open("deme.txt", 'a')
file.write("Append: Appan unnum kalayillada..")
file.close
def division(a, b): ans=a/b return ans try: a=int(input("Enter the 1st Number : ")) b=int(input("Enter the 2nd Number : ")) division(a, b) print(division(a, b)) except: print("ZeroDivisionError") finally: print("Have a nice day")
Enter the 1st Number : 5 Enter the 2nd Number : 0 ZeroDivisionError Have a nice day ---------------------------------------------------------------------- from pcs ---------------------------------------------------------------------
LogingCore Python Concepts:
login next paython roadmap 🚦🚗
Python Methods
Python Basic within 10 days
Python Basic
Python Moderate
Python scrimba.com
Interview
python requiremnts
Data Science
FREE Python Tutorials
FREE Python PDF
kaggle 🥚
learnpython 🌭
python-practice ⭐⭐⭐
Python Coding Interview Preparation 2024 ⭐⭐
pyhton 70+ intervie question
pyhton cheat code
Algorithms for coding intervie in python
pythongeeks.
Python Course
- Importents
- How to Access
- Slice Opersters Indroduction
- Slice Operstes Rules
- Sllice Operstes Case Study
- Matematical Mebership snd comparison Opersters
- Methods Stron(),Istrip(),Rstrip() to remove
- String metheds find() snd rfind(_)
- String method index()snd rindex()
- Count
- Replace()
- split and join
- String Methods Summery
09 String
Chania is the capital of the Chania region on the island of Crete. The city can be divided in two parts, the old town and the modern city.
You will learn more about web layout and responsive web pages in a later chapter.
https://broadway-kochi.blogspot.com/p/python.html
Create a BIM calculating program using function:
def BIM(w, h):
div= w/h**2
return div
w=int(input("Enter the W : "))
h=float(input("Enter the H : "))
BIM(w, h)
print("Bim is : ", BIM(w, h))
output:
Enter the W : 70
Enter the H : 1.70
Bim is : 24.221
def BIM(w, h):
div= w/h**2
return div
try: w=int(input("Enter the W : "))
h=float(input("Enter the H : "))
BIM(w, h)
print("Bim is : ", BIM(w, h))
except:
print('Error...')
finally:
print("have a Nice day (Y)")
output:
Enter the W : 0
Enter the H : 0
Error...
have a Nice day (Y)
file=open("deme.txt", 'w')
file.close()
file=open("deme.txt", 'r')
welcome=file.read()
print(welcome)
file.close()
welcome=file.readile()
welcome=file.read(5)
file=open("deme.txt", 'w')
txt=file.write("Hellow world")
file.close()
file=open("deme.txt", 'a')
file.write("Append: Appan unnum kalayillada..")
file.close
def division(a, b): ans=a/b return ans try: a=int(input("Enter the 1st Number : ")) b=int(input("Enter the 2nd Number : ")) division(a, b) print(division(a, b)) except: print("ZeroDivisionError") finally: print("Have a nice day")
Enter the 1st Number : 5 Enter the 2nd Number : 0 ZeroDivisionError Have a nice day ---------------------------------------------------------------------- from pcs ---------------------------------------------------------------------
Loging
Phase 1: Foundational Python Skills (1-2 Months)
Core Python Concepts:
- Variables, data types (numbers, strings, booleans, lists, dictionaries), operators
- Control flow (if/else statements, loops)
- Functions (defining, calling, arguments, return values)
- Object-oriented programming (OOP) basics (classes, objects, methods, inheritance)
- Syllubus
-
Phase 1: Foundational Python Skills (1-2 Months)
- Maths
- Maths tircks
LDC - 012/2019
- Mentlabil
- Exponents (കൃത്യങ്കങ്ങൾ)
- Ration and Proportion
- 2021
- 2020
- 2019
- 2018
- 2017
- 2016
- 2015
- 2014
- 2013
- 2012
- Variables, data types (numbers, strings, booleans, lists, dictionaries), operators
- Control flow (if/else statements, loops)
- Functions (defining, calling, arguments, return values)
- Object-oriented programming (OOP) basics (classes, objects, methods, inheritance)
- Syllubus
-
- Maths
- Maths tircks
Phase 1: Foundational Python Skills (1-2 Months)
-
LDC - 012/2019
- Mentlabil
- Exponents (കൃത്യങ്കങ്ങൾ)
- Ration and Proportion
- 2021
- 2020
- 2019
- 2018
- 2017
- 2016
- 2015
- 2014
- 2013
- 2012
No comments