add __main__ around print (#8747)

This commit is contained in:
Daniel Luo 2023-05-18 20:40:52 -04:00 committed by GitHub
parent cf5e34d479
commit edc17b60e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -65,4 +65,5 @@ def mixed_keyword(key: str = "college", pt: str = "UNIVERSITY") -> str:
return cypher
print(mixed_keyword("college", "UNIVERSITY"))
if __name__ == "__main__":
print(mixed_keyword("college", "UNIVERSITY"))