fix :__main__ not working within interpreter
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
|
||||
def print_hello():
|
||||
hello = "Hello World"
|
||||
print(hello)
|
||||
|
||||
if __name__ == "__main__":
|
||||
print_hello()
|
||||
Reference in New Issue
Block a user