Question: Please write a python script that determines the winner between user1 and user2. The script should read in votes from 3 users in separate prompts

Please write a python script that determines the winner between user1 and user2. The script should read in votes from 3 users in separate prompts and prints 1. the number of votes user1 got (e.g. "User1 got __ votes") 2. number of votes user2 got (e.g. "User2 got __ votes") 3. winner who got most votes (e.g. "Winner is this user")

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!