Open hakkinenvthh opened 7 years ago
Hello, I tried a script like this:
try: print(1) assert 2 + 2 == 5 except AssertionError: print(3) except: print(4)
The result: it prints only "1". Tried on the PC the result must be "1 3"
And then this code: def func(x): assert x > 0, "error" print(x) func(-1)
It prints"-1" as result
I run QPython 2 and 3 on Samsung Note 3, Android 6.0.1
Hello, I tried a script like this:
try: print(1) assert 2 + 2 == 5 except AssertionError: print(3) except: print(4)
The result: it prints only "1". Tried on the PC the result must be "1 3"