Python
5
Вклад в тег
a, b = int(input()), int(input())
if a > b:
print('>')
elif a < b:
print('<')
elif a == b:
print('=')
#Переработанный ваш
fin_name = 'input.txt'
fout_name = "output.txt"
with open(fin_name) as fin:
a, b = map(lambda x: int(x.strip()), fin.readlines())
result = None
if a > b:
result = '>'
elif a < b:
result = '<'
elif a == b:
result = '='
with open(fout_name, 'w') as fout:
fout.write(result)
dohod = 5000
procent = - 0.20
dohod += dohod * procent
i = 0
a = dohod
while True:
i += 1
print(i, a)
if i == 12:
break
a = a + dohod
print(a)