1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
IgorLugansk [536]
3 years ago
5

Write a program that simulates a fishing game. In this game, a six-sided die is rolled to determine what the user has caught. Ea

ch possible item is worth a certain number of fishing points. The points will remain hidden until the user is finished fishing, and then a message is displayed congratulating the user depending on the number of fishing points gained.
Computers and Technology
1 answer:
m_a_m_a [10]3 years ago
3 0

Answer:

Answered below

Explanation:

//Python code

numberOfCasts = 3

j = 0

fishingPoints = 0

sum = 0

while j < numberOfCasts:

dieNum = randint(1 , 6)

if dieNum ==1:

fishingPoints = 2

elif dieNum == 2:

fishingPoints = 4

elif dieNum == 3:

fishingPoints = 6

elif dieNum == 4:

fishingPoints = 8

elif dieNum == 5:

fishingPoints = 10

elif dieNum ==6:

fishingPoints = 12

sum += fishingPoints

j++

if sum > 30:

print ("Great catch")

elif sum > 10 and sum <= 30:

print("Good catch")

else:

print ("Bad day")

You might be interested in
In electrical work, resistance is often represented by thea. Greek symbol O.
Elanso [62]

Resistance is often represented by Ω, (pronounced Ohm). The symbol itself is actually omega though, which is the Greek symbol for O.

So your answer is a.

3 0
3 years ago
Which of the following are examples of structured data?
Burka [1]

Answer:taffif

Explanation:

4 0
4 years ago
What is one way a senior employee can mentor a new employee? Give orders about what to do and what not to do Gossip about which
den301095 [7]

A good way for a senior employee to mentor a new employee is to share company knowledge and job expertise.

7 0
3 years ago
Assume that the data on a worksheet consume a whole printed page and two columns on a second page. You can do all of the followi
UNO [17]

Answer:

Option (2) is the correct answer of this question.

Explanation:

We will increase the left and right margins of the data on a worksheet that will consume a whole printed page  and columns on second page then the data will print all in one page.

Following are the steps to print the Data all in on page:-

Step 1.  Choose the Ribbon Page Design button

Step2.  select 1 page in the Scale to Fit category, and in the Width box, we  will automatic choose the height box.                

Step 3 .Finally we will  choose 1 page in the Height box to print your worksheet to a single page.

 "Other options are incorrect because they are not related to the given    question.i.e, to print the data in on page in the worksheet".

4 0
3 years ago
During a network infrastructure upgrade, you have replaced two 10 Mbps hubs with switches and upgraded from Category 3 UTP cable
julia-pushkina [17]

Answer:

The answer is "Option c"

Explanation:

Its the infrastructure used to upgrade, for it's upgrading it begins with improving its internet services, that require new routers, adapters, and modulation schemes, that arrive with smart detectors and functionaries, if it accidentally  cut the cat 5e patch so, all the internet nodes shall be accessible except the server, and wrong choices can be described as follows:

  • In option a, It is wrong because all network is not authenticated by the same server.
  • In option b, Network nodes connection can be a switch, that's why is incorrect.  
  • Option d and Options e both were wrong because it is not divided on the same subnet and the printer is not available for all.
6 0
3 years ago
Other questions:
  • How is multiprogramming implemented using virtual memory?
    10·1 answer
  • "In about 100 words, describe the idea behind software as a service (SaaS). In your answer, include at least three examples of e
    10·1 answer
  • How long is the latency time of a typical hard-disk drive spinning at 360 revolutions per second?
    6·1 answer
  • Which internet resource can you use to publicly describe an adventure trip you recently made?
    6·2 answers
  • Which event most led to a reduction in the size and cost of computers? a. invention of the Bessemer converter b. development of
    8·2 answers
  • ____ is an approach to boundary spanning which results from using sophisticated software to search through large amounts of inte
    5·1 answer
  • NEED BY 15 MINUTES PLEASE! WILL MARK BRAINLIEST!You can create special effects in an image using a camera or a photo-editing too
    5·1 answer
  • Which sentence best describes the executive branches of state
    12·1 answer
  • A___ is a placeholder where you can enter text to manipulate and give new graphical effects.​
    13·1 answer
  • How do you refer particular cell?<br>​
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!