t163.py 301 B

123456789
  1. def domul(a,b):
  2. return a*b
  3. print domul(10, 123456789876543)
  4. print domul(876543234567, 123456789876543)
  5. print domul(-876543234567, 123456789876543)
  6. print domul(-876543234567, -123456789876543)
  7. print domul(876543234567, -123456789876543)
  8. print domul(876543234567, 10)
  9. print domul(876543234567, -10)