生成绝对值.py 61 B

1234567
  1. x = float(input())
  2. if x>=0:
  3. y=x
  4. else:
  5. y=-x
  6. print(y)