name = input("Please enter your name: ")
age= int(input("How old are you,{0}?" .format(name)))
print(age)
if age >= 22:
print(f"Congratulations {name} , You're eligible to vote.")
else:
print(f"Oops {name} ,We're are sorry but you can try again in {0} years." .format(22 - age))
The outcome is not minusing the .format command? can we not use both the functions into one line of code.