TristanSld

exceptions 1

Jan 7th, 2014
59
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/usr/bin/env python
  2. #-*-coding:utf-8-*-
  3. try:
  4.     sayi=int(raw_input("Lütfen bir sayı giriniz: "))
  5.     print "Girdiğiniz sayı", sayi
  6. except ValueError:
  7.     pass
RAW Paste Data