-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathefr.py
More file actions
51 lines (44 loc) · 1.25 KB
/
efr.py
File metadata and controls
51 lines (44 loc) · 1.25 KB
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
s1={}
s={}
class H:
def ter(s):
print('terapia bolimi')
print(s)
palata=input('sizdin palatanyz:')
s1[s]=palata
print(s1)
def stomac(d):
print('stomatologia bolimi')
print(d)
palata=input('sizdin palatanyz:')
s[d]=palata
print(s)
def registr(n):
while True:#пациенттер
n=input('atyn kim?')
if n=='stop':
break
a=input('senin kai zherin auyryp tur?(bas / tis):')
if a=='bas':
print('sen terapia bolimine bar!')
H.ter(n)
if a=='tis':
print('sen stomatologia bolimine bar!')
H.stomac(n)
def registr_izdeu(i):
while True:
izdeu=input('siz izdegen adam aty:')
if izdeu in s1:
print('{} terapia boliminde, palatasy :'.format(izdeu),s1[izdeu])
break
elif izdeu in s:
print('{} stomatologia boliminde, palatasy :'.format(izdeu),s[izdeu])
break
else:
print('Bul bolnicada ondai adam jok!')
c=H()
c.registr()
c.registr_izdeu()
##
##c=H()
##c.registr()