Answer:
false
Explanation:
PLZ HELP!!! I'm a beginner in coding!
BTW, I'm a beginner in coding, so you don't have to get all fancy and stuff lol. Plz keep it "beginner's level" haha thx
1. Randomly choose rock, paper, or scissors for the computer
2. Ask the user to choose rock, paper, or scissors
3. Compare the computer’s choice to the player’s choice
4. Announce whether the computer or the human won
BUT!!! I already did 1, 2, and 3. I just need help with 4, how do I announce whether the computer or the human won? Am I suppose to use an if, elif, or else statement? Or a loop maybe? Please help! Thank you! Also, plz keep it simple, I just started learning coding
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!"
Be able to identify these different hazards
Answer:
In order to control workplace hazards and eliminate or reduce the risk, you should take the following steps: identify the hazard by carrying out a workplace risk assessment; determine how employees might be at risk; ... record and review hazards at least annually, or earlier if something changes
define computer software
Answer:
It is any program on a computer that you cannot touch or clean by yourself. EX: Windows.
Have A Nice Day!
What does it mean to read with expression?
to increase your reading rate
to emphasize important words
to understand vocabulary words
to read aloud to others
Answer: to emphasize important words
Explanation:
To read with expression simply means to emphasize the important words. When one is reading a text, one should be able to match the feelings expressed with what the text means.
It is ones ability to show feeling when reading. To properly use expression, one has to understand the meaning of the grammar or the words that are used in the sentence.
Answer:
yup there right
Explanation:
:)))))
what animal is perry the platypus
Answer: Agent P or simply Perry
Explanation:
Answer:
A Platypus. Its in the name XDDD
Explanation:
What is output? Select all that apply. c = 0 while (c < 10): c = c + 5 print (c) 0 1 2 3 4 5 6 7 8 9 10
Answer:
5 10
Explanation:
that's the answer : 5 10
plz answer this....quickkkkk
Answer:
C. because a sorting algorithm is an algorithm that puts elements of a list in a certain order.
A brown outline around a frame is an indication of which tool?
Answer:
Direct Selection Tool
Explanation:
The Direct Selection tool is a tool that allows the selection of a single object or a single path such that an object already grouped with other objects can be directly and moved to a desired location
The Direct Selection tool can be used to select a container's content including graphics which are imported and specific points or paths of a figure or text to allow for drawing, text editing or to edit paths.
What will you see on the next line?
>>>int(12.8)
___
Answer:
12
Explanation:
When you use the int() function on a float, it only cuts off everything past the decimal. Literally all it does. Also, the int() function doesn't round the number. Thus, proving the answer is 12.
hope i helped :D
Answer: 12
Explanation: got it right on edgen
1. To select a word in a document, you can do which of the following
Select all that apply.
(10 Points)
a. Select each character of the word
b. Double-click the word
c. On the keyboard, press Shift+Left arrow key or Shift+Right arrow key to select the word
If you created a variable that contains letters AND numbers, what data type would that value be?
A. a float
B. a string
C. a Boolean
D. an integer
Answer:
its B: string
Explanation:
Answer:
String
Explanation:
Where does append add the new elements?
To the end of an array.
To the middle of an array.
To the beginning of an array.
In alphabetical/numerical order.
Answer:
"Option 1: To the end of an array." is the correct answer.
Explanation:
The word "Append" means adding to the end of a document.
Appending means whatever new content is added, it is added at the end of the document or data structure.
Similarly,
Appending an array means adding new elements to the end of the array.
Hence,
"Option 1: To the end of an array." is the correct answer.
A central message that’s communicated by a writer or speaker is called
Answer:
C: the main idea
Explanation: ..
I NEED A BIG BRAIN BOYO TO HELP ME
My friend Juan is a Ike main in smash and I’m a byleth main how and ever since 5th grade I’ve been trying to beat him at smash but I never do... how do I beat him
Which is the most effective method of studying and memorizing many facts? using concept maps taking sequential notes using flash cards taking conceptual notes
Answer:
using flashcards
Explanation:
Many educationists agree that the use of flashcards can actually aid one's ability to study and memorize many facts.
What this method entails is that the individual writes a short note or fact on one side of the card. Next, a question prompting the fact is asked on the other side.
For example, a student who wants to memorize the names of the capital cities of countries around the world may write the names on one side of the flashcard, and then the question: What is the capital city of....? By using such a method they'll effectively memorize them.
Answer:
using flashcards
Explanation:
i took the quiz
If you want the data associated with a variable called “game” to appear in the interpreter with a space after it, which of the following should you use?
game,
game.
game+
game_
Answer:
game+
Explanation:
The analysis given in the question is an illustration of concatenation.
Assume that variable game is a strong variable and we want a blank space appended to the data in this variable, we make use of the following syntax.
game + " "
The plus (+) sign between game and the blank space " " implies that space should appear immediately after the data in game.
Hence, option C answers the question.
Answer:
C. game+
Explanation:
PLEASE HELP ME ASAP
In a spreadsheet, cells B2 through B10 store the cost price of items and cells C2 through C10 store the selling price. If the selling price exceeds the cost price, you earn a profit. Otherwise, you suffer a loss. Which formula will you use to determine whether you earn a profit? A. =IF(C2>B2;"Profit";"Loss") B. =IF(C2 B2;"Loss";"Profit") D. =IF(C2>B2;"Profit";"Profit")
Answer:
Im pretty sure the answer is a
Explanation:
do you ever just . . . . . . . . . . . . .
Answer:
sure? *confusion*
Explanation:
Answer:
Ok than taste in art is immaculent amazing wonderful
which type of computer networks are bigger as well as smaller than a MAN?
the answer is LAN for the first blank and WAN for the second blank.
(hope that helped)
Answer:
which type of computer networks are bigger as well as smaller than a MAN?
the answer is LAN for the first blank and WAN for the second blank.
(hope that helped)
Explanation:
which type of computer networks are bigger as well as smaller than a MAN?
the answer is LAN for the first blank and WAN for the second blank.
(hope that helped)
if you have 60fps on your laptop tell me one way you can go to 240fps
Answer: NO
Explanation:
A 60hz monitor refreshes the screen 60 times per second. Therefore, a 60hz monitor is only capable of outputting 60fps
Answer:
A higher frame rate is better. However, when you're actually playing a game, the display's refresh rate does effectively limit the frame rate – if you have an 80hz display and your computer is capable of outputting 120 FPS, your screen will still only be able to show 80 different images per second.
60hz monitor is only capable of outputting 60fps
Explanation:
144hz refers to the display's refresh rate - aka how many times it can draw a new image within the space is a second. Framerate refers to the number of complete images that your computer can generate within a second. For the best results you want the two to match, or at the very least for one to be a multiple of the other. Because when they're not, you get this:
How would you make it so that you upload a ZIP file and it displays the images in number order from top to bottom?
25 points and a Brainliest if I can do so.
Answer: Create a Zipped Folder using Windows:
Choose the folder you'd like to zip.
Right-click the folder, point to Send to, and then click Compressed folder(zipped).
A new zipped folder will appear in your Desktop, this Zip File can now be used for your HTML drop.
HOW TO UPLOAD:If you're on a PC using Windows, right-click the folder and in the menu that appears you should select Send to and then under that menu select Compressed (zipped) folder. You then should see a zip-file with the same name as the folder you created appear. You should upload this zip-file on the submission page.
Explanation:\
Why is it Important to understand electricity?? Please answer fast the assignments already missing!!
Answer:
Electricity not only plays a big part in our daily lives at home, but it is extremely important for all the things that go on in the world around us in our modern life, such as industry that we depend on, communication as in form of radio, television, e-mail, the Internet, etc.
Explanation:
Using the drop-down menu, identify characteristics of IDEs.
IDE refers to
for writing computer programs.
IDEs are a coordinated
IDEs provide developers with
Answer:
An integrated development environment
Computer software program-writing package
Interactive programming tools
Explanation:just took it on edge
Answer:
An integrated development environment
Computer software program-writing package
Interactive programming tools
Explanation:
Samantha wants to get a job where she would look for errors in computer code that other people have written. What search term should be entered on a job listing website to find that kind of job?
editor
database manager
debuger
program advisor
Answer:
debuger
Explanation:
Answer:
C debuger
Explanation:
Please help me with this
Answer:
Explanation:
what?
The internet's data pathways rely on what kind of hardware device to route data to its destination?
O IP addresses
O servers
O ISPs
routers
Answer:
D. Routers
Explanation:
A router can be defined as an electronic hardware device used in the field of telecommunications (networking) to forward or route packets of data from computer network to another. These packets are forwarded on the internet, from one computer network until the packets reaches its destination node through a transmission control protocol and internet protocol (TCP/IP) model.
Basically, a router is a networking device that is saddled with the responsibility of selecting the pathways for forwarding data packets over multiple computer networks through the use of an internal routing table.
Hence, the internet's data pathways rely on a hardware device known as router, to route data to its destination.
Answer:
routers
Explanation:
The internet consists of servers and routers that direct information to the right locations through a series of "hops." Each router receives packets of data, reads their addresses, and then forwards them on to the next point in their journey. Data hops from one router to another, getting closer and closer to its destination with each hop, until it is delivered.
The main routes of the internet made up of high-speed fiber optic cable bundles that can carry vast amounts of data nearly instantaneously between strategically interconnected networks and routers.
(Confirmed on Edge)
I hope this helped!
Good luck <3
in which step of web design is storyboarding helpful?
a
Coding
b
Editing
c
Planning
d
Publishing
Answer:
the soup become too salty through the process of osmosis system specific message and you can get my points
Explanation:
his email address is going to change your notification delivery settings for Corona CA and you know that
The final wrap-up after the conflict is resolved is called the __________________________.
the subject is Audio/Video Productions
10 points
Answer:
resolution
Explanation:
This eventually leads to the final part of the novel known as the crisis resolution or denouement.
Which one of these is NOT a type of printer
-Laser
-Electric
-Photo
-Inkjet
Need answer soon, thanks!
Answer:
electric
Explanation:
eletric is not a print ouo
The electric should not be the type of printer.
The information regarding the printer is as follows:
A printer is a machine that should be connected to the computer for making the copies on paper that should be held by the computer.It could be laser, photo, and the inkjet, etc.Here the digital data should be transformed into the printed media.Therefore we can conclude that the electric should not be the type of printer.
Learn more about the printer here: brainly.com/question/4455685
The internet's data gathways rely on what kind of hardware devies to route data to its destination?
Answer:
router
Explanation: