Facebook
From a, 11 Months ago, written in Python.
Embed
Download Paste or View Raw
Hits: 175
  1. def check_int(str_num):
  2.     try:
  3.         return int(str_num)
  4.     except:
  5.         raise Exception('Значення не є числом')