Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- choices = ("P3",
- "P5",
- "P7",
- "16GB",
- "32GB",
- "1TB",
- "2TB",
- "19\"",
- "23\"",
- "Mini Tower",
- "Midi Tower",
- "2 ports",
- "4 ports")
- processors = [processor.lower() for processor in choices[:3]]
- while processor_choice.lower() not in processors:
- print("That is not a valid choice.")
- processor_choice: str = input("Please choose again: ")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement