219
reputation
1
7

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:
- Wanna git gud at python? I recommend Fluent Python
- Like dark theme? Checkout Dark Theme for Stack Overflow.

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

# This is not mine, I saw it in a old screenshot that I can no
# longer find so I cannot credit the original author.

class console:
    def write(self, text):
        print(text, end="")

def main():
    message = str("Hello World")

    message_letters = list(message)

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

if __name__ == "__main__":
    main()
1
answer
0
questions
~12k
people reached
  • United States
  • Member for 2 years, 6 months
  • 11 profile views
  • Last seen 2 days ago

Top tags (3)

Score 10
Posts 1
Score 10
Posts 1
Score 10
Posts 1

Top posts (1) All Questions Answers | Votes Newest

Badges (8)

Gold

Silver

1

Rarest

Bronze

7

Rarest