Question: Complete the question using Python please! 2. Write a script asking the user for their age. Use the age and a while loop to determine
Complete the question using Python please!

2. Write a script asking the user for their age. Use the age and a while loop to determine if the user can vote. If the user is less than 18 years old, use the while loop to display the user's age and increment the age until they reach 18 years of age. The output should look something similar to this: Enter your age: 10 You cannot vote! You are only 10 years old. You cannot vote! You are only 11 years old. You cannot vote! You are only 12 years old. You cannot vote! You are only 13 years old. You cannot vote! You are only 14 years old. You cannot vote! You are only 15 years old. You cannot vote! You are only 16 years old. You cannot vote! You are only 17 years old
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
