What about this take? Seems to work on my box.
name = input('Enter your name: ') age = input('Enter your age: ') country = input('Enter your country ') if age < str(18): print(f'{age} is not old enough to vote.') if country not in ['Britain', 'UK']: print(f'{country} is not entitled to vote') else: print('You are entitled to vote')
Output:Enter your name: john
Enter your age: 18
Enter your country USA
USA is not entitled to vote
Enter your name: john
Enter your age: 15
Enter your country UK
15 is not old enough to vote.
You are entitled to vote
I welcome all feedback.
The only dumb question, is one that doesn't get asked.
My Github
How to post code using bbtags
The only dumb question, is one that doesn't get asked.
My Github
How to post code using bbtags