ПОЖАЛУЙТА

есть код, мне пишет, что у вас такая ошибка:"Traceback (most recent call last):

File "main.py", line 7, in

print(Z,S)

NameError: name 'S' is not defined" Найдите ошибку

A,P,H=map(int,input().split())

x=H-A

if x%A==0:

Z=x//A

if P%A==0:

S=A//P

print(Z,S)
Please enter comments
Please enter your name.
Please enter the correct email address.
You must agree before submitting.

Copyright © 2024 SCHOLAR.TIPS - All rights reserved.