Computers and Technology

Write an expression that continues to bid until the user enters 'n'. Sample output with inputs: 'y' 'y' 'n'
I'll bid $7!
Continue bidding? I'll bid $15!
Continue bidding? I'll bid $23!
Continue bidding?
1 import random
2 random. seed (5)
3
4 keep going
5 next bid = 0
6
7 while Your solution goes here
8 next bid next bid + random. randint(1, 10)
9 print(' ll bid x ' (next bid))
10 print('cohtinue bidding?', end-
11 keep going input
ACTIVITY 53.3. While loop: Insect growth
Given positive integer num_insects, write a while loop that prints that number doubled up to, but without exceeding 100. Follow each number with a space.
Sample output with input:
8 8 16 32 64 1 nu
1 insects = int(input()) Must be
2
3 Your solution goes here

answer
Answers: 1

Other questions on the subject: Computers and Technology

image
Computers and Technology, 23.06.2019 00:20, kathlynskare06
Ihave been given the number of guns per 100, and the total firearm-related deaths per 100,000. i have to find the actual number of guns per country and actual number of gun-related deaths. if somebody could show me how to do 1 question, i can finish the rest, i am just confused. tia
Answers: 3
image
Computers and Technology, 23.06.2019 04:31, mjweed3381
Cloud computing service providers manage different computing resources based on the services they offer. which resources do iaas and paas providers not manage? iaas providers do not manage the for the client, whereas paas providers usually do not manage the for their clients. iaas- storage server operating system network paas- applications interafce storage vertualiation
Answers: 2
image
Computers and Technology, 23.06.2019 14:30, bernicewhite156
Select the correct answer. what does it indicate when a website displays https instead of http? a. the website is secure. b. there is no secure sockets layer. c. the secure sockets layer is hidden. d. the website is not secure.
Answers: 1
image
Computers and Technology, 23.06.2019 20:30, lucywood2024
What is the biggest difference between section breaks and regular page breaks
Answers: 1
Do you know the correct answer?
Write an expression that continues to bid until the user enters 'n'. Sample output with inputs: 'y'...

Questions in other subjects:

Konu
Biology, 13.12.2020 22:30
Konu
Mathematics, 13.12.2020 22:30
Konu
Mathematics, 13.12.2020 22:30
Konu
Arts, 13.12.2020 22:30