140
reputation
4

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()
0
answers
1
question
~42
people reached
  • United States
  • Member for 2 years, 6 months
  • 2 profile views
  • Last seen Dec 13 '19 at 18:50

Top tags (4)

Score 0
Posts 1
Posts % 100
Score 0
Posts 1
Score 0
Posts 1
Score 0
Posts 1

Top posts (1) All Questions Answers | Votes Newest

Badges (4)

Gold

Silver

Bronze

4

Rarest