forked from ronitraj74/python-Learning-code
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path10_991.py
More file actions
27 lines (22 loc) · 863 Bytes
/
10_991.py
File metadata and controls
27 lines (22 loc) · 863 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
class College:
your_name = "Ronit"
college_name = "ACE"
language = "Python"
fees = 110001
# your_name = input("Enter your name : ")
# name = input("Enter the name of the college : ")
# language = input("Enter the language used most in your college : ")
# fees = int(input("Enter the semester wise fees of your college : "))
def greet(grt):
print(f"Good morning {grt.your_name}")
def getInfo(info):
print(f"The Name if the college is {info.college_name}.The Enviormental language in the college is {info.language} and The semester wise fees of the college is {info.fees}")
def __init__(greet):
print("Thank You")
@staticmethod
def you():
print("hi")
information = College()
#information.language = "java"
information.greet()
information.getInfo()