Skip to content

khanmaster/eng88_python_oop_packages

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python OOP

Packages

Modules

import random
import math
print(random.random())

# It generates float number between 0-1

num_float = 23.44
print(" floor method rounds the figure to lower end")
print(math.floor(num_float))

print(" ceil() method rounds the figure to higher end of the value ")
print(math.ceil(num_float))

What are the FOUR PILLARS of OOP

  • Abstraction
  • Inheritance
  • Encapsulation
    • _dob = 01/01/1991
  • Polymorphism

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages