What is printed should be on the screen/terminal to read it.
Once you check for an answer don't need to do it again in the same if block.
if HP.lower() == 'yes':
Once you check for an answer don't need to do it again in the same if block.
if HP == 'Yes': print ("This is a Repeater project") raise SystemExitYou can use str.lower() to convert the answer to lowercase and check for 'yes'. The way how it is right now if one enter 'yes' instead of 'Yes' the if condition will be False.
if HP.lower() == 'yes':