Добавил кода
This commit is contained in:
@@ -2,3 +2,7 @@ def calculate(height, wight):
|
||||
result = wight / height ^ 2
|
||||
return result
|
||||
|
||||
def user_input_check(height, wight):
|
||||
if height.isdigit() and wight.isdigit():
|
||||
if height != 0 and wight != 0:
|
||||
return True
|
||||
|
||||
Reference in New Issue
Block a user