Ответ:
python:
a, b, c, d = [int(input(f'{c} = ')) for c in 'abcd']
if a > b:
if a > c:
p = a % d
else:
p = b % d
p = (b + c) % d
print('p =', p)
Объяснение:
Copyright © 2025 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
Ответ:
python:
a, b, c, d = [int(input(f'{c} = ')) for c in 'abcd']
if a > b:
if a > c:
p = a % d
else:
p = b % d
else:
p = (b + c) % d
print('p =', p)
Объяснение: