Question: There is still an issue somewhere here: def check _ total _ votes ( ) : if total _ votes = = guests: print (
There is still an issue somewhere here:
def checktotalvotes:
if totalvotes guests:
printThe total votes match the the number of guests, it seems that everyone has cast their vote!"
elif totalvotes guests:
printThe total votes have exceeded the number of guests. Please retry."
getvotes
checkvotes
elif totalvotes guests:
printstrnotvoted people have not voted. Their votes will be added to pie
return intpievotes intnotvoted
def pieorderpienumvotes:
if pienumvotes :
pienumorder pienumvotes
else:
pienumorder
return pienumorder
def finalorderpie pie pie:
pieorder pieorderpievotes
pieorder pieorderpievotes
pieorder pieorderpievotes
print
printHeres your pie order:"
printpie: pieorder
printpie: pieorder
printpie: pieorder
It's saying it's missing a required positional argument, pienumvotes. The checktotalvotes function does not work either, it said there were zero people whon did not vote when there was not.
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
