Ответ:
p,k,z=int(input()),int(input()),int(input())
if p > 0:
print(p**3)
elif p == 0:
print(p-z)
else:
print(p+k)
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
Verified answer
Ответ:
p,k,z=int(input()),int(input()),int(input())
if p > 0:
print(p**3)
elif p == 0:
print(p-z)
else:
print(p+k)