Error - Syntactical Remorse profile image
1704
Reputation: 6643
United States

Error - Syntactical Remorse

I am just someone with a degree in Copy & Paste studies from the University of Stack, located in Overflow City.

Few notes:

Remember, just because your code gets the right output doesn't mean the code is right:

class console(object):
    def write(self, text: str) -> None:
        print(text, end="")

def main() -> None:
    message: str = str("Hello World")

    message_letters: list = list(message)

    for i in range(0, len(message_letters), 1):
        console().write(message_letters[i])
    console().write("\n")

if __name__ == "__main__":
    main()