Write a program that accepts three inputs in the following order:
• Bidder Name (string)
• Bidder Age (integer)
• Bid Amount (float)
Assume no characters other than letters or numbers are entered, and do not display a message with the inputs!
Your program should then output the results in the following format. For this example, treat the inputs as John, 24, and 16.93.
The bidder John is 24 years old and placed a bid of $16.93.
Note: the dollar amount must be explicitly restricted to only 2 decimal places.
LAB
ACTIVITY
6.1.1: Input & Output
main.py
1 name=input()
2 age=int(input())
3 amount=float(input())
4 round(amount, 2)
5
6 print('The bidder', name, 'is', age, 'years old and placed a bid of $', amount, '.')
0/2