Question: 1 . Get a number from the user and assign it to a variable called user _ number. a . Multiply the user number by

1. Get a number from the user and assign it to a variable called user_number.
a. Multiply the user number by 2 and store it in a variable called double_user_number.
b. Divide the user number by 2 and store it in a variable called half_user_number.
c. Add 10 to the user number and store it in new_number.
Show all the Write a program that asks the user how many frisbees they would like to buy, and then prints out the total cost. You should declare a constant at the top of your program called COST_OF_FRISBEE and set it equal to $15. Remember, constants should be formatted with all capital letters.
Be sure to include comments that describe the program's behavior which is how the program functions and how the user interacts with it.
Input:
How many frisbees do you like to buy? 6
Output:
The total cost of frisbees: $180.00
variables - frisbees, COST_OF_FRISBEE, total_cost
"""
# Write your code below this line
COST_OF_FRISBEE =15.00
results along a descriptive text to the
For example, if user enters 6, print
Double the user_number: 12.

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 Programming Questions!