view absval/absval.python.txt @ 1:aff6409d16d1 draft

Uploaded
author fubar2
date Fri, 08 Dec 2023 08:47:36 +0000
parents
children
line wrap: on
line source

#raw
import sys
inp = []
for line in sys.stdin:
    if line.strip() > '':
        x = line.split()[0]
        inp.append(str(abs(float(x))))
    else:
        break
sys.stdout.write('\n'.join(inp))
#end raw