-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathclass.py
More file actions
56 lines (50 loc) · 1.25 KB
/
class.py
File metadata and controls
56 lines (50 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
50
51
52
53
54
55
56
# -*- coding: utf-8 -*-
"""
Created on Wed Jun 19 16:09:06 2019
@author: Robin
"""
class Yh:
def cryh(many, much):
return round(many * much * 0.85)
def yh(many, much):
return many * much * 0.85
class Cy:
def hcy(many, much):
return many * much * 0.85
def dcy(many, much):
return many * much * 0.85
class Em:
def sf(many, much):
return many * much * 0.85
def dm(many, much):
return many * much * 0.85
class Sf:
def yb(many, much):
return round(many * much * 0.85)
def rb(many, much):
return round(many * much * 0.85)
class Tb:
def rt(many, much):
return many * much * 0.85
def wt(what):
if what == 'xq':
return round(4.5 * 1650)
elif what == 'y':
return 1650
elif what == 't':
return 80
def hs_rt(many, much):
return many * much * 0.85
xx = Yh.yh(48, 138)
xxx = Yh.cryh(24, 145)
yy = Cy.hcy(24, 168)
yyy = Cy.dcy(24, 188)
zz = Em.sf(24, 158)
zzz = Em.dm(24, 148)
aa = Sf.yb(48, 100)
aaa = Sf.rb(24, 100)
bb = Tb.wt('xq')
bbb = Tb.rt(125, 175)
bbbb = Tb.hs_rt(55, 175)
men = (xx, xxx, yy, yyy, zz, zzz, aa, aaa, bb, bbb, bbbb)
print(men)