call_func.py 204 B

123456789
  1. #!/usr/bin/env python3
  2. # -*- coding: utf-8 -*-
  3. x = abs(100)
  4. y = abs(-20)
  5. print(x, y)
  6. print('max(1, 2, 3) =', max(1, 2, 3))
  7. print('min(1, 2, 3) =', min(1, 2, 3))
  8. print('sum([1, 2, 3]) =', sum([1, 2, 3]))