Create a safe main module by filling the gaps. Use the __main__ pattern.
Safe main module
Report a typo
Fill in the gaps with the relevant elements
# safe_main.py
def main():
print("Hello, world!")
if == :
()Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.