You are running a bingo game where you want to tweet the winner of each round of the game. You want to announce the name of who won, and how much they won in dollars. Make a function that takes those two words in as input, and then announces the win. For now, just print the statement that you will want to tweet later. (Hint: Remember that you are taking a number as input, which has to be converted to a string to concatenate it.)

What will be an ideal response?


```
def bingo(name, amount):
amountStr = str(amount)
print name + “ called Bingo! winning $”+amountStr
```

Computer Science & Information Technology

You might also like to view...

Which of the following best characterizes variable-length subnet masks?

a. They minimize wasted IP address space when interconnecting subnets. b. They are not recommended in modern computer networks. c. They reduce the number of bits required in a subnet mask from 32 to 24. d. They are used for classful addressing

Computer Science & Information Technology

To change the height of a picture use the ________ tab and then select the Size Group to change the size

Fill in the blank(s) with correct word

Computer Science & Information Technology

The STL gives you a broad range of generic capabilities for constructing and manipulating ____ of objects rapidly.

A. lists B. files C. templates D. packages

Computer Science & Information Technology

A webpage with a _____ does not change when the browser window is resized or the page is displayed at varying resolutions.?

A. ?fluid layout B. ?responsive layout C. ?receptive layout D. ?fixed layout

Computer Science & Information Technology