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
Get step-by-step solutions from verified subject matter experts
