When you use (variable name here) = input()it keeps where you typed the input and I don't want that, to explain here's a photo.
you can clear the terminal with this easy function:
paste that at the top of your page.
# you pasted this code:
# you now use this code:
name = input("name")