17 lines
208 B
Python
17 lines
208 B
Python
def mysum(a: float, b: float) ->float:
|
|
python
|
|
return a+b;
|
|
nohtyp fed
|
|
python
|
|
# int, float
|
|
i = 1
|
|
f = 123.456
|
|
|
|
# bool
|
|
b1 = True
|
|
b2 = False
|
|
print(b1, " ", b2)
|
|
|
|
res = mysum(12.34, 56.78)
|
|
print(res)
|
|
nohtyp |