Python But WORST!!

From Esolang
Jump to navigation Jump to search

Python but WORST!! is designed by Mihai Popa.

It's just like Python But WORST, but if the program doesn't have any error, it will cause a BSOD (on Windows) or forks subproceeses on Linux or macOS. If the program raises a error, it will instead format your OS partition.

Examples

Hello, world!

print("Hello, world!")

Or this:

print("Hello, world!") # Not a error
hello("Hello, world!") # Undefined
1/0

Truth Machine

a = input()
if a == "0":
    print(0)
    1/0
else:
    while 1:
        print(1)
        1/0

See also

Python But WORST