Question: Write a function called can _ vote that accepts three parameters current _ felony, have _ id , and affidavit. All three parameters are strings
Write a function called canvote that accepts three parameters currentfelony, haveid and affidavit. All three parameters are strings "Yes" or NoAgain we will cover boolean variables later, which would replace Yes and No The function should print out "Yes" if the person can vote, and No otherwise.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
