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
kiruha [24]
3 years ago
12

Rock climbing fun html

Computers and Technology
1 answer:
Delicious77 [7]3 years ago
5 0

Answer:

Ok....? Imma just fill out something more so I can get the points. ☺

You might be interested in
PLZ HELP!!! I'm a beginner in coding!
Lina20 [59]

import random

rock,paper,scissors = 1,2,3

choice = int(input("Please choose 1 2 or 3: "))

computer = random.randint(1,3)

player_won = False

draw = False

if choice == computer:

   draw = True

elif choice == 1 and computer == 3:

   player_won = True

elif choice == 2 and computer == 1:

   player_won = True

elif choice == 3 and computer == 2:

   player_won = True

if player_won:

   print("You won!")

elif not player_won and not draw:

   print("The computer won!")

else:

   print("It's a draw!")

First, I recommend importing at the beginning of your program. Also, you can combine all your same datatype variables in one line. You also need to cast your user choice to an integer so you can compare it with the computer's choice. I wrote the if, elif, and else statements using a boolean variable. I simply wrote all the possibilities that would result in the player winning and this would result in the player_won variable being true. If this is the case, we print to the console, "You won!"

4 0
3 years ago
Which file types have .exe and .png as their extensions?
uysha [10]
.png are for photos and .exe are for programs.
6 0
3 years ago
Read 2 more answers
What type of system software manages memory?
Kobotan [32]

Answer:

"Operating System"

Explanation:

6 0
3 years ago
Select the best answer from the drop-down menu.
Orlov [11]

Answer:

1) R<u>easoning</u>

<u>2)Nonverbal</u>

<u>3)Generating solutions.</u>

<u>4)Decision making</u>.

<u>--------------------------------------</u>

Robert is reviewing complex information and data concerning a new product launch to determine the cause of some product failures. He is primarily using <u>reasoning</u> skills.

Reasoning through a problem requires an understanding between verbal and <u>nonverbal</u> ideas.

When you use reasoning skills and past experience to brainstorm ideas you are <u>generating solutions.</u>

When you narrow down solution ideas, then select the best one, you are engaging in <u>decision making</u>.

<u>OAmalOHopeO</u>

8 0
3 years ago
Read 2 more answers
Is all binary signaling digital give resistance to error?
AfilCa [17]
Digital signals (usually binary coded) can include extra information that can be used for error detection or even correction. This allows recovery of the original signal, either by requesting retransmission or by directly correcting the error. 

<span>analog signals can't include any extra information needed for this purpose. it is impossible to distinguish an error from the original data.

cited:</span>http://www.answers.com/Q/Which_has_greater_resistance_to_transmission_errors_Binary_signaling_or_Ana...
8 0
3 years ago
Other questions:
  • How do networks help protect data? -by preventing access by more than one person at a time -by restricting access to department
    11·2 answers
  • Data ____________ refers to any technique that recodes the data in a file so that it contains fewer bits.​
    10·1 answer
  • has anyone noticed to get credit for answering a question you don't even need to answer it correctly?
    11·2 answers
  • A. True
    13·1 answer
  • The following are types of numbers except one. Select the one which is not an integer.
    11·1 answer
  • Lets computer know what to do when it starts up...
    9·1 answer
  • Why did my typing suddenly become delayed, but then went back to normal a few minutes later. Is this spyware or smth?
    6·1 answer
  • A website for a certain political party or candidate is likely to have unbiased
    6·1 answer
  • An analogue sensor has a bandwidth which extends from very low frequencies up to a maximum of 14.5 kHz. Using the Sampling Theor
    9·2 answers
  • The Horse table has the following columns:
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!