Skip to content

Commit b15d50f

Browse files
add files
1 parent b2f7cb0 commit b15d50f

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

functions.py

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
def func(self,a,b):
2+
a="roe"
3+
b="john"
4+
print(a+b)
5+
6+
def func1(self,a,b):
7+
a=int(input())
8+
b=int(input())
9+
print(a-b)
10+
11+
class insurance:
12+
def __init__(self,name,policyname,details):
13+
self.name=input()
14+
self.policyname=input()
15+
self.details=input()
16+
print(self.name ,self.policyname , details)
17+
18+
func("vinay","mohan","ram")
19+
func1(18,20,30)
20+
c=insurance("KISHORE","IOS MAMA","13000 PER YEAR")

0 commit comments

Comments
 (0)