Ad
Code
Diff
  • def print_statements():
        """Prints Hello Mark along with other lines of code"""
        statements = ("Hello Mark!",
                      "This is my first python script.",
                      "Python will be fun to learn!",
                      "I am not at COGS",
                      "I am at home in my jammies.")
    
        # Printing lines of code:
        print(*statements)
    • def print_statements():
    • """Prints Hello Mark along with other lines of code"""
    • statements = ("Hello Mark!",
    • "This is my first python script.",
    • "Python will be fun to learn!",
    • "I am not at COGS",
    • "I am at home in my jammies.")
    • # Printing lines of code:
    • for statement in statements:
    • print(statement)
    • print(*statements)