Commit 5ff3e14c authored by Cristiano Urban's avatar Cristiano Urban
Browse files

Removed garbage.

parent b2b21191
Loading
Loading
Loading
Loading
Loading

prova.py

deleted100644 → 0
+0 −13
Original line number Diff line number Diff line
import sys

try:
    print(c)
    #b = 2 / 0
    try:
       # a = 1 / 0
        a = 2
    except Exception:
        print("ex 1")
        sys.exit(1)
except Exception:
    print("ex 2")

prova2.py

deleted100644 → 0
+0 −18
Original line number Diff line number Diff line
def test():
    try:
        print("1")
        #if a is None:
        #    print("a is None")
    except Exception:
        print("2")
    else:
        try:
            print("7")
        except Exception:
            print("8")
        else:
            return
    finally:
        print("3")

test()

prova3.py

deleted100644 → 0
+0 −7
Original line number Diff line number Diff line
x = 5

while True:
      print(x)
      x -= 1
      if x == 3:
          raise Exception("Sorry, no numbers below zero")