I cant get this for the life of me, I dont understand what im doing wrong, help?
def main():

numGuesses = 0
userGuess = 15
secretNum = 5

name = input("Hello! What is your name?")


userGuess = print ("Guess a number between 1 and 20:")

numGuesses = numGuesses + 1

if (userGuess < secretNum):
print("You guessed " + str(userGuess) + ". Too low.")

if (userGuess > secretNum):
print("You guessed " + str(userGuess) + ". Too high.")

if (userGuess = secretNum):
print9"Congrats! you are correct.")
main()

Answers

Answer 1

Answer:

what problems are you facing with this code?

Answer 2

Answer:

Your print statement has a 9 on it.


Related Questions

which is the best online free coding website

Answers

Well you have to install this but Scratch!

If someone you don't know
gives you feedback on your
online creation, what should
you do?
A. See what you think about their feedback
B. Ask to talk about it offline
C. Ignore it
D. Both A and B

Answers

Answer:

C)

Explanation:

because we have to ignore him

Answer: A. see what you think about their feedback

Explanation: never ask to talk about anything offline with a stranger

How should the teachers respond to the parental complaints of student C? If they fail the student, the student will likely be rejected from the Ivy League College and could lose scholarship opportunities. If they bow to the parent's pressure and allow a third try to make up the work, this student will have an unfair advantage over student B.

Answers

Answer:

the teacher should give the student some time to work with since they dont have the same avantage as the others

Explanation:

all should have an fair time as others

1. Which component is an input device?
CPU
b. hard drive
mouse
d. printer
e. RAM

Answers

an input device would be anything you would use to change certain functionality, for instance a Mouse or Keyboard is an input device because it helps you input letters or clicks into the computer.

If you're unsure if something
is true, what should you do?
A. Research the information
B. Trust it if you know the person
C. Trust it if the person has shared accurate content
before
D. All of the above
Yes

Answers

A. Research the information
A. Research the information

Which of these jobs would be most appropriate for someone who majors in information technology? A)developing new computing technology that will someday improve network speeds B) managing a database for a large department store C)managing the computer network for a large department store D)designing the hardware for a military helicopters on board computer

Answers

Answer:

B) managing a database for a large department store

C)managing the computer network for a large department store

Explanation:

An individual who majors in Information Technology is considered to be a professional with varying knowledge in the area of computers, networking, databases, and security. Such an individual is considered to be an expert in the area of database management, integration of software, and computer network optimization.

Hence, the most appropriate jobs for someone who majors in information technology is both options B and C

Answer:

C - Managing the computer network for a large department store

Explanation:

Information technology is to help. It can't be B because information system is storing stuff aka database.

How is counting in this circle and square system similar to how we count in our regular lives? How is it different?

Answers

Answer:

1.  Counting in this circle and square system is similar to how we count in our regular lives because it obeys agreed-upon rules

2. On the other hand, counting in this circle and the square system is different to how we count in our regular lives because it utilizes shapes instead of numbers

Explanation:

Circle Square Pattern of counting is a form of counting that is similar to the binary structure but has distinct rules for sorting shapes. It involves the development of all possible messages with three-place values, with other distinct created rules that illustrate how it sorted each message.

Hence, in this case, the correct answers are:

1.  Counting in this circle and square system is similar to how we count in our regular lives because it obeys agreed-upon rules

2. On the other hand, counting in this circle and the square system is different to how we count in our regular lives because it utilizes shapes instead of numbers

Which option ensures that different parts of the document can have different page layouts?

page breaks
section titles
section breaks
paragraph options

Answers

Answer: C :))))) <3

Explanation:

The option that ensures that different parts of the document can have different page layouts is section break. The correct option is C.

What is section break?

To divide the document into sections, section breaks are used. After inserting section breaks, you can format each section separately.

For example, format one section as a single column for the report's introduction and the next section as two columns for the report's body text.

Section breaks are used to allow formatting changes (for example, different margins, page number styles, and so on) within the same document.

A page break simply moves any information that follows the page break to the next page; a section break divides your document into different sections, allowing you to apply complex formatting to your document.

In your document, a section break should not be used instead of a page break.

Thus, the correct option is C.

For more details regarding section break, visit:

https://brainly.com/question/17959804

#SPJ5

Does anyone know? If you do please answer.

Answers

whats the question..

A collection of computers that are connected in a small geographic area such as an office, college campus, or in your home is called a _____.

Answers

Answer:

The answer is "LAN".

Explanation:

The term LAN stands for "Local-area-network", which is also known as a set of devices, that includes a building, office, or home, it also links together in a single physical object.

It may be big or small, spanning from a local network in such a single user to a corporate network inside a school or office with millions of nodes or devices. It is used to provides connectivity or gives shared links to the printer, shared folders as well as other services.

NEED HELP RIGHT NOW!!! Which of the following is the definition of a privacy policy? * 5 points - A legal document that an app or a website must provide explaining which user information they collect and how it is used. - A legal document that an app or a website must provide to describe the rules the company and users must obey when they use the app. - Choices a website or an app provides users about which information is collected and visible to others. - Small text files stored on a computer that keep track of what a person does on a website.

Answers

Answer:

A legal document that an app or a website must provide to describe the rules the company and users must obey when they use the app.

It is a legal document that an app or a website must provide to describe the rules the company and users must obey when they use the app. The correct option is B.

Where is privacy policy used?

An organization's privacy policy outlines how it will handle any customer, client, or employee data gathered during business operations. The majority of websites provide users with access to their privacy policies.

For this, you should compile a thorough list of every location on your website where users' personal information is obtained, both directly and inadvertently.

Identify every third party who might be gathering data about your users. Make sure you comply with the laws in the area where your firm is located.

A privacy policy provides a detailed explanation of how you intend to use any personal data you obtain from a website or mobile app.

These guidelines are also known as privacy notices or privacy statements. They act as legal documents that serve to safeguard both business and customers.

Thus, the correct option is B.

For more details regarding privacy policy, visit:

https://brainly.com/question/28271379

#SPJ6

Why is it important to begin development of a software solution with a programming design in place? A programming design summarizes the results of a software development process. A programming design summarizes the marketability of a software solution and the strategy for product placement. A programming design communicates decisions about the programming approach and saves time, money, and effort. A programming design communicates decisions about the approach for hiring contractors and saves time, money, and effort.

Answers

Answer:

A programming design summarizes the marketability of a software solution and the strategy for product placement.

Explanation:

It is important to begin the development of a software solution with a programming design in place is a programming design summarizes the marketability of a software solution and the strategy for product placement. The correct option is c.

What is programming?

It is a prototype-based, multi-paradigm scripting language that is dynamic, and supports object-oriented, imperative, and functional programming styles. JavaScript runs on the client side of the web, which can be used to design / program how the web pages behave on the occurrence of an event.

The program can also be written in binary code, but using a higher-level programming language makes it simpler for others to grasp.

Therefore, the correct option is c, A programming design communicates decisions about the programming approach and saves time, money, and effort.

To learn more about programming, refer to the link:

https://brainly.com/question/14368396

#SPJ6

Where can I learn how to make my own video game for free?

Answers

game’s top rack not top pop

Answer:

I dont really think you can make a video game for "free" but i found this website:Ads

www.buildbox.com/

The power to create 2d & 3d mobile games without coding.

A 30V battery maintains a current through a 10 Ω Resistor. What is the current flow through the resistor?

Answers

Answer:

3 amps

Explanation:

because as per ohm's law. "electric current is proportional to voltage and inversely proportional to resistance"

3 amps because as per ohm's law. "electric current is proportional to voltage and inversely proportional to resistance".

What is Resistivity?

Resistivity is the measure of an electrical conductor's resistance with a unit cross-sectional area and unit length. Any material's resistance can be used to distinguish it from other materials and to assess how well they carry electric currents. High resistance suggests little conductivity.

"The wire's resistivity changes, but its resistance does not," Stretching a copper wire causes its length to rise and its diameter to contract, which raises the wire's resistance but keeps the material's and temperature's resistivity constant.

The resistance of current in a wire is inversely related to the cross-sectional area of the wire and directly proportional to its length. This is,

R = (L rho)/A

Where

L stands for wire length.

A is the wire's cross-sectional area.

Resistivity, or rho,s a proportionality constant that is influenced by the wire's quality. In light of this, resistance and resistivity are connected by proportionality constant based on the composition of the substance.

Therefore, 3 amps because as per ohm's law. "electric current is proportional to voltage and inversely proportional to resistance".

Learn more about voltage on:

https://brainly.com/question/29445057

#SPJ2

why is it important to be part of a team in times you fail and in times you succeed?​

Answers

Answer:

well you will feel better when you lose and have a better time winning with friends?

Explanation:

What is the purpose of the making of Nintendo Switch?

Answers

Answer:

To create a console that is suitable for children and families.

Answer:

to entertain the audience

Explanation:

this is because in this day and age people always want the next new things, especially children. So companies make this so that it can entertain the younger audience. Now they have made it so it can entertain 2 people instead of 1 to share the fun. It is also accessible anywhere so whether you are somewhere with wifi or without you can still enjoy the games you love.

What is a programming language?
A language used by application software developers to create instructions for the computer to use to run the application software
B a language used by television programming specialties
C a language used by inventors to create new hardware for computers
D a language used to tell a computer how to program itself

Answers

The answer is letter A

Answer:

A. language used by application software developers to create instructions for the computer to use to run the application software

Explanation:

Quiz Verified

Which of the following is involved in ordering an outline? arranging grouping merging organizing

Answers

Grouping

grouping

grouping

Answer:

the answer is not groping its merging

Explanation:

my homework sed it was wrong

and i dont want you to be to

an ______ is a simplified image. [4 letters]​

Answers

Is this dealing with the computer because I can help you then

A ________ is two or more computers that share resources. A) computer network B) network resource C) peer-to-peer network D) client

Answers

Answer:

computer network

Explanation:

A computer network is two or more computers that share resources. All of the computers in a network are connected together and can share various resources depending on the scenario such as memory, space, computing power, graphical power, etc. The most common shared resource is connection to the internet.

What are the first steps that you should take if you're unable to get onto the internet

Answers

Answer:

See below

Explanation:

Check the physical connections first. Ethernet cable to PC and or router, and power cable / power status.Next try to reboot the router and check lights status.If everything is fine on your end then contact your internet provider to further troubleshoot on their end.

Answer:

O Check your router connections then restart your router. O Plug the CPU to a power source and reboot the computer. O Adjust the display properties and check the resolution. Use the Control Panel to adjust the router settings.

Explanation:

Complete the paragraph to explain how Angelina can notify readers that her report is just a draft. Angelina has decided to add the word “DRAFT” to the of the pages of her report as a watermark. To do this, she needs to navigate to the tab and then to the command group to click the Watermark icon and then the DRAFT option. If she wanted to include additional text, such as her initials, she could create a watermark.

Answers

Answer:

BACKGROUND

DESIGN

PAGE BACKGROUND

CUSTOM

Explanation:

Answer:

BACKGROUND

DESIGN

PAGE BACKGROUND

CUSTOM

Explanation:

Edge

All drives in a computer have how many connections.

Answers

Answer:

 The oldest of the hard drive connections are the SCSI (Small Computer System Interface) types.  The 50 pin flat ribbon cable connectors were found in all sorts of computers and servers from their introduction in 1986 until the mid 1990's.  

They are still in use today, albeit in their updated Ultra SCSI form which uses either 68 or 80 pin connectors along with a pinless plug that is similar to a USB connection.  Up to 16 drives/devices can be connected through SCSI connections.  {The common alternative to SCSI connectors is the IDE connection.  Also known as ATA or PATA, IDE drives use a 40 pin flat ribbon cable and are limited to just two drives per cable.  These drives were initially developed for IBM PCs. }

Introduced in 2005 as a replacement for Ultra SCSI, SAS drives, or Serial Attached SCSI, share many common features with regular SCSI but offer many improvements. While SCSI drives can only run a single communication in the order it's received, SAS drives allow for multiple simultaneous communications through less numbers of pins and higher speeds.  SAS plugs look similar to those found on SATA devices but have seven additional pins for a total of 29 (14 for data, 15 for power). SAS systems can also handle upwards of 66,000 devices per controller.  

SATA, or Serial ATA, drives are similar to SAS but have a simplified plug with 15 power and seven data connections.  SATA drives can technically plug directly into any cable that accepts a SAS drive but it may not been by the computer it is connected too if it doesn't support SATA drives on a SAS system.

Finally, FC or Fibre Channel drives are designed for larger storage systems that use fiber optic interconnects between the server and drive enclosures.  The connections on Fibre Channel drives typically prevent them from being used with other drive types due to their specialty nature but since they are based on SCSI technology, they work easily with many different server systems.

Write a program to display the series 100 ,98,96,94.....50.(use DO..WHILE statement)​

Answers

Answer:

Explanation:

a = 100

while a != 50:

print(a)

a-=2

If you cannot find the CD with the device driver when installing a new piece of hardware what option should you try
A.see if the device is available
Online
B. As the company to send you the CD
C alter the device driver from similar hardware
D.Use the hardware without a device driver

Answers

Answer:

i think it is a not sure though

Explanation:

Answer:

I really would go with C

________ employs state-of-the-art computer software and hardware to help people work better together/188646975/management-exam-1-flash-cards/

Answers

Answer:

"Collaborative computing " is the appropriate solution.

Explanation:

Collaborative computing is defined mostly as an occurrence during which advanced technology technologies promote and improve homework assignments that occur thru all the distributed technology, during which people work together from remote areas.Each participant to something like the request may make a significant contribution to these kinds of transcripts through specialized equipment, continuing to work with some of the other major party candidates.

the meaning of belt drives

Answers

Answer:

A belt drive is a transmission system that uses a flexible strip to transfer power. The turning disk is connected by a belt drive to the electric motor. A rubber belt drive is used to transfer power from one pulley to another. A belt drive is a transmission system that uses a flexible strip to transfer power.

Explanation:

Which of these does not differ from one digital camera to another?

the use of an electronic sensor to record images
the camera modes available
the lenses and attachments available
the size of the memory cards it accommodates

DIGITAL MEDIA

Answers

Answer:  One of these does not differ from one digital camera to another is the use of an electronic sensor to record images.

Answer:

The answer is A. "the use of an electronic sensor to record images"

During this era page numbers were developed as information was growing and written communication needed more effective systems for blank

Answers

Answer:

Sorting and organizing

Explanation:

During the sorting  and organizing era, page numbers were developed as information was growing.

What is sorting and organizing?

The verb sorting is known to be a term that connote the act of separating out things or items based on some criteria.

The term organize is known to be a term that connote the act of putting or working order. Here people organize things in order for them to be able to remember or for ease of work. In  the sorting  and organizing time, page numbers was created as information was increasing.

Learn more about sorting from

https://brainly.com/question/2345433

Joshua is taking notes as he goes through the Formatting Text and Paragraph lesson in the Word Application course. His notes include the bullet points below. Describes the way a line or a paragraph is tabbed or moved forward Helps text, such as quotations, to stand out Which paragraph property is Joshua taking notes on? 1.)Margin 2.) Alignment 3.)Indentation

Answers

Answer:

indentation/3

Explanation:

Other Questions
Which of these events from holes happen first C In an experiment to test the effects of hunger on aggressive behavior, aggressive behavior would be the Simpson drives his car with an average velocity of 24 m/s toward the east. how long will it take him to drive 560 km on a perfectly straight highway? Round 10.999244792948 to the nearest whole number What area didEngland primarilysettle? Use the mass and density data to calculate the volume of corn syrup to the nearest tenth. Mass of corn syrup = 57.3 g Density of corn syrup = 1.38 g/mL Is the word hunters a abstract noun 1. Solve -35 = -5x ........................ A human geographer studying a map of a city center has noticed that most of the restaurants are clustered around the marina. What is the human geographer studying? 34+987=what please help a person runs 27.0km west then turns around and runs 13.0km east what's the distance and displacement ? In general, New England colonists ______ American Indian ownership of their land. respected did not recognize paid for true or false First aid is the immediate care given to an injured or suddenly ill person. First aid does not take the place of proper medical care. the sum of two numbers is 58. The larger number is 22 more than the smaller number. What are the numbers? During a sale, 20-cent candy bars were sold at 3 for 50 cents. How much is saved on 9 bars? Indicate the effects of the following business transactions on the accounting equation for Sam's Snack Foods, a supplier of snack foods.Transaction (a) is answered as a guide. a. Sam s Snack Foods received cash from the issuance of common stock to stockholders. Answer: Increase asset (Cash); Increase equity (Common Stock)b. Cash purchase of land for a building site.c. Paid cash on accounts payable.d. Purchased equipment; signed a note payable.e. Performed service for a customer on account.f. Employees worked for the week but will be paid next Tuesday.g. Received cash from a customer on accounts receivable.h. Borrowed money from the bank.i. Cash dividends paid to stockholders.j. Incurred utilities expense on account. Rewrite 4 - 5 using the additive inverse and display the new expression on a number line What problem did the development of the metric system solve? The segment with endpoints (-1,4) & (2,8) has a distance of What do the Roman Empire do ?