Search:

Type: Posts; User: RingZzer0

Search: Search took 0.00 seconds.

  1. Replies
    3
    Views
    4,957

    Thanks for responding mayjune though it seems you...

    Thanks for responding mayjune though it seems you did not get my question -

    Code
    if 123 == 12:
    pass
    else:
    raise mayjune

    Output
  2. Replies
    3
    Views
    4,957

    raising an exception in python

    Hi Guys,

    I am back with a doubt again:

    I read that we can "raise" and exception in python if our program detects and error condition, e.g.


    def get_num():

    number = int(raw_input('Enter...
Results 1 to 2 of 2