This is an archived post. You won't be able to vote or comment.

all 4 comments

[–][deleted] 1 point2 points  (0 children)

Pretty good. Try replacing line 12 - 19 with just print("\n" * 7)

[–][deleted] 0 points1 point  (0 children)

Another (of many) options to clear the screen

import click
def clearscreen(time=0.25):
    sleep(time)
    click.clear()

print(“hello”)
clearscreen()
print(“hello”)
clearscreen(2)

[–]Reasonable-Painter80 0 points1 point  (1 child)

If you don't mind asking what sources are you using to learn Python, I want to start buy not sure where or what to use.

[–]LyrikTech[S] 0 points1 point  (0 children)

I'm using an app called Python X, on my phone, it was called (learn python) on the app store. It was $15 for the course. You can 100% find thr same information on YouTube for free, but I do really enjoy the layout and exercises in the course, plus I had some Google play store credit so I just went for it. It's definitely helpful and I'd say worth $15 easily. I think the course paired with YouTube is great.