if __name__ == "__main__": main() This example shows basic string handling, user input, and a simple function.

def main(): greeting = "Hello, World!" print(greeting)

name = input("What's your name? ") print(f"Hello, {name}!")