Добавил кода

This commit is contained in:
dr_domi
2026-05-02 16:29:46 +03:00
parent 3c173de14c
commit 2f4528f60e
+4
View File
@@ -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