Can someone tell me what’s wrong with this?





def main():

# Initialize variables
numGuesses = 0
userGuess = -1
secretNum = 5


while secretNum!= userGuess:
userGuess = int(input("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.")


main()


Answers

Answer 1

This code is running without any syntax error. All I did is indented the code correctly. (Look at the attachement.)

Can Someone Tell Me Whats Wrong With This? Def Main(): # Initialize Variables NumGuesses = 0 UserGuess

Related Questions

When will your stony brook email address become your default or preferred email address for official stony brook communications?.

Answers

The stony brook email address will become the default or preferred email address for official stony brook communications as from Aug. 14.

What is the email about?

This is known to be the primary campus email address.

Note that it is the address that the University sends official email notifications and it is said to become the 'preferred' or the default or preferred email address for official stony brook communications as from Aug. 14.

Learn  more about a email from

https://brainly.com/question/24688558

#SPJ1

In the __________ phase of the SecSDLC, the team studies documents and looks at relevant legal issues that could affect the design of the security solution.

Answers

In the Analysis phase of the SecSDLC, the team studies documents and looks at relevant legal issues that could affect the design of the security solution.

What is this stage about?

This is known to be the phases of development where there is  Analysis or one can say requirements gathering and where one has clearly set out problem or project as well as others.

Note that In the Analysis phase of the SecSDLC, the team studies documents and looks at relevant legal issues that could affect the design of the security solution.

Learn more about Analysis phase from

https://brainly.com/question/13897351

#SPJ1

_____________is a computing environment in which a service provider organization owns and manages the hardware, software, networking, and storage devices, with cloud user organizations (called tenants) accessing slices of shared resources via the Internet. Group of answer choices Cloud computing consumerization of IT Software Service Internet of Things

Answers

Answer:

Cloud Computing

Explanation:

Cloud computing is a term that refers to a platform and a sort of service. Servers are constantly provisioned, configured, reconfigured, and deprovisioned as needed by a cloud computing system. Physical or virtual computers can be used as cloud servers. Other computer resources, such as storage area networks (SANs), network equipment, firewalls, and other security equipment, are generally included in advanced clouds. Cloud computing also refers to apps that have been enhanced so that they may be accessed through the Internet. Large data centers and powerful servers are used to host Web applications and Web services in these cloud applications. A cloud application can be accessed by anybody with a good Internet connection and a basic browser.

Match the Job description with the job titles.

Answers

1) Bricklayer 2) Roofer 3) Architectural drafter 4) landscape architect
number 1 to first box
number 2 to second box
number 3 to third box
number 4 to forth box

What is a client benefit of partnering with accenture's intelligent platform services
(ips)?

Answers

The client benefit of partnering with Accenture's intelligent platform services (ips) is that it boosts a business’s unused capabilities and takes advantage of its current resources.

How can an Accenture Intelligent Platform services IPS help the client?

Accenture's Intelligent Platform Services (IPS) helps clients in taking a decision to partner with other services company.

Note that Accenture often assist its customer via the implementation of a system that will bring out operational efficiency and opportunities for growth while using existing resources.

See options below

1)It shifts responsibility for business functions to externally hired resources.

2)It decreases costs by reducing the purchase and maintenance of equipment.

3It boosts a business’s unused capabilities and takes advantage of its current resources.

4)It eliminates data breaches and cybercrimes with its advanced security features.

Learn more about Accenture from

https://brainly.com/question/25682883

#SPJ1

How does adding inputs to a custom function improve a computer program?
A. It makes the result of every run of the program a surprise.
B. It makes the algorithm's output more predictable and reliable.
C. It allows one module to be easily customized for different
situations.
D. It causes the behavior to repeat forever, or for a set number of
cycles.

Answers

By adding inputs to a custom function,  It allows one module to be easily customized for different situations.

What is the use of custom function?

Custom functions, is known to be used as Java methods, as it helps one to be able to extend the power and functionality of their Liquid Data.

Note that By adding inputs to a custom function,  It allows one module to be easily customized for different situation because it uses one input at a time.

Learn more about computer program from

https://brainly.com/question/1538272

#SPJ1

which item is developed last in the cyclical process?

Answers

Answer:

Design Process

Explanation:

The multistep process by which designers and engineers design, build, and taste a new product is called the Design Process. There are multiple steps, including exploring, designing, planning, making, testing, and revising.

Answer:

Explanation:

Because of the issues that have been sketched above, a number of other methods of project management have emerged in recent years. These methods are particularly suited for IT-development projects. Examples of these relatively new streams within project management include DSDM, RUP, eXtreme Programming (XP), RAD and agile project management (McConnell, 1996; Kroll, 2004; Chromatic, 2003; Stapleton, 2002, [ii], [iii])

Although the above-mentioned methods of project management differ according to a number of aspects, they are essentially the same. Because the path toward the final goal of IT projects has proved so uncertain, these methods assume that the goal will be achieved in a number of short cycles. This is the background for the term cyclical project management for these methods

1. Which of the following CAN NOT be considered as information? (1) The average height of students in a class.
(2) The total sales of a company for the month of May.
(3) The body temperature of a patient.
(4) The number of copies of a book sold at the end of the day. (5) Literacy rate of a country.

Answers

Answer:

Explain three most significant features of computer

Low-level formatting ____. Group of answer choices is different from physical formatting is usually performed by the purchaser of the disk device divides a disk into sections that the disk controller can read and write does not usually provide an error-correcting code

Answers

Low-Level formatting is usually performed by the purchaser of the disk.

What is low-level formatting?

Low-Level formatting can be defined as is performed at the factory which electronically creates the hard drive tracks and sectors and tests for bad spots on a disk surface.

Low-level formatting is usually performed by the purchaser of the disk device.

Therefore, B is the correct option.

Learn more about Low-level formatting here:

https://brainly.com/question/13797778

#SPJ1

Sanjay is compressing several images from a recent photo shoot during the editing process. What will this do to the pixels

Answers

Based on the fact that he is compressing a lot of images from a photo shoot, the pixels size will be reduce.

What is Pixels?

This is known to be a term that connote a little single colored, light-sensitive squares, or picture elementary , that is said to be a full digital image file.

Based on the fact that he is compressing a lot of images from a photo shoot, the pixels size will be reduce.

Note that also individually the photo will have small pixel but collectively, the pixel size will increase but since it will undergo edit, it will reduce.

Learn more about pixels from

https://brainly.com/question/9017156

#SPJ4

The Western Siberian Plain is __________ in some places because it has poor natural draining systems.

Answers

This is the complete sentence about the Western Siberian Plain:

The Western Siberian Plain is marshy in some places because it has poor natural draining systems.

What is the Western Siberian Plain?

The Western Siberian Plain is a plain that is located in the western part of Siberia and which is known because most of the plain is poorly drained and it is considered one of the largest swamps and floodplains of the world.

This is why the correct word to complete the sentence about the Western Siberian Plain is "marshy".

Check more information about the Western Siberian Plain here https://brainly.com/question/14478489

#SPJ1

Php code can be placed anywhere within the html markup

Answers

Php code can be placed anywhere within the html markup as A PHP script can be inserted into the document at any point. ". php" is the default file extension for PHP files.

How to use Php code?

As you can see, you can use any HTML you want in your PHP code without doing anything unique or extra, as long as it's outside of the PHP tags. To put it another way, if you want to incorporate PHP code into an HTML file, you can put it anywhere (as long as it's inside the PHP tags.

HTML tags and PHP scripting code are commonly found in PHP files.

Read more about the code :

https://brainly.com/question/25689052

#SPJ4

A person who works full time for a power company is concidered a consultant

Answers

Answer:

It will depend on your employer. Many will have a clause in the employment agreement limiting or prohibiting outside work without permission, especially in the same field. You’ll also need to think about the logistics of trying to juggle both sets of responsibilities. It’s going to be hard to sell work as an independent consultant if you can’t meet with or speak to clients during business hours, when you’d presumably be at your full-time job. Likewise, if you need to visit the client site to do your consulting work, how would you do that while working full-time? I can’t think of a lot of consulting opportunities that you could do entirely in the evenings or on weekends, and I don’t think your boss at your full time job would allow you to field calls for your own outside business at work.

When I started out in consulting, I moved from a job at a large university, where I was also teaching a class. I agreed to do essential work for my old boss as a consultant at night and on weekends until they could hire a replacement. After a few weeks on the job, I casually mentioned this to my supervisor at the new job, who showed me the clause in the employment handbook that didn’t allow me to consult for anyone else while employed there. I had to end that arrangement. However, the consulting firm was fine with my continuing to teach at the university, as they didn’t consider that a conflict

Answer:

False

Explanation:

They would be called an employee.

what would the input, process, outcome and feedback be for a class assignment

Answers

no sé hablar inglés tu pregunta no entiendo

What is the digital revolution and how did it change society?

Answers

Answer:

The Digital Revolution (also known as the Third Industrial Revolution) is the shift from mechanical and analogue electronic technology to digital electronics which began in the later half of the 20th century, with the adoption and proliferation of digital computers and digital record-keeping, that continues to the present day.

The "digital revolution" is impacting everything, from economy, innovation, science and education, to health, sustainability, governance, and lifestyles. Digital technologies will fundamentally change business models, institutions and society as a whole, as new ecosystems emerge.

Explanation:

which task would a database administrator preform?

Answers

Sr I don’t know what about it today lol but it’s just a weird thing about to be with my buddy who knows what to say lol

Answer: Make sure protocols are in place and are being followed.

Explanation: Good luck! Hope this helps!

True or False: Neural Networks are the most extensible model and therefore the best choice for any circumstance.

Answers

Neural Networks are the most extensible model and therefore the best choice for any circumstance is a true statement.

What are neural networks?

This is known to be network that helps to process a lot of sequences of information side by side.

Note that Neural Networks are said to be the most extensible model and therefore the best choice for any circumstance is a true statement.

Learn more about neural networks from

https://brainly.com/question/27371893

#SPJ4

PLEASE HELP!
Before you answer:
-No spam (Will be reported)
-No incorrect answers (Will be reported)
-Correct answers and explanations will be mark as BRAINLIEST​​​​

Answers

Answer:

A. True or false

1.True

2.false

3.false

4.true

5.true

1) False. Java script is easy to learn and use.

2) True. The actions performed on the objects is called Methods.

3) True. There can be multiple scripts in a single documentation.

4) False. It's the complete opposite. Single Line comments starts with double dash (//)

5) True. Java Script uses interactive elements to make the HTML pages more interactive for the users.

Which of the follow best describes the difference between local and global variables? A. global variables require the keyword var when created; local variables can be created without the use of the var keyword B. global variables are only used inside an onEvent( ); local variables are only used outside an onEvent( ) C. global variables are permanent and can be used anywhere in your code; local variables are temporary and can only be used where it was created D. local variables are permanent and can be used anywhere in your code; global variables are temporary and can only be used where it was created

Answers

The difference is: C. global variables are permanent and can be used anywhere in your code; local variables are temporary and can only be used where it was created.

What is a variable?

A variable simply refers to the specific name which points to a location in computer memory, and it's typically used for storing a value such as an integer.

In Computer technology, there are two main types of variables and these include the following:

Global variablesLocal variables

Basically, a difference between local and global variables is that global variables are permanent and can be used anywhere in your code while local variables are temporary and can only be used where it was created.

Read more on global variables here: https://brainly.com/question/15876187

#SPJ1

Which managed service should you use if you want to do a lift and shift of an existing Hadoop cluster without having to rewrite your Spark code

Answers

The managed service should you use if you want to do a lift and shift of an existing Hadoop cluster without having to rewrite your Spark code is f G. Cloud's.

What is Lift and shift Hadoop clusters?

This is one where a person can migrate their existing Hadoop and Spark deployment so that they can use G. Cloud without  having to engage in re-architecting.

The managed service should you use if you want to do a lift and shift of an existing Hadoop cluster without having to rewrite your Spark code is f G. Cloud's as it is advantage fast and flexible way to put together infrastructure as a service and others.

Learn more about  managed service from

https://brainly.com/question/20495853

#SPJ1

By default, what appears on your screen whenever a new email arrives?.

Answers

By default, the appears on your screen whenever a new email arrives is a  Desktop Alert.

What is a Desktop Alert?

This is known to be a kind of  a notification that often shows on your desktop when a person is said to receive a new email message, a meeting request, or others.

Note that the Desktop Alerts need to be turned on by default and as such, By default, the appears on your screen whenever a new email arrives is a  Desktop Alert.

Learn more about Desktop from

https://brainly.com/question/7221406

#SPJ1

As the user moves out of the range of one access point, their wireless device must re-associate with a new access point as it comes within range. What is this process known as

Answers

This process is known as “Roaming”.

Work related information posted to social networking sites or discussed in public may create ___________ that can be exploited by the unauthorized recipient.

Answers

Answer:

Work related information posted to social networking sites or discussed in public may create Vulnerabilities that can be exploited by the unauthorized recipient .

Work-related information posted to social networking sites or discussed in public may create a vulnerability that can be exploited by the unauthorized recipient.

What are social networking sites?

Individuals have the chance to make acquaintances and develop relationships thanks to social networking. Families who live far apart from one another have used it as a vital tool to connect and stay in touch.

Users of professional networking sites can search for employment using their connections to identify ones that match their skills. One's profile can be viewed by other users and potential employers, who can also provide recommendations.

Therefore, Social networking site posts or public conversations involving work-related topics may expose a  vulnerability that an unauthorized recipient may use against you.

To learn more about social networking sites, refer to the link:

https://brainly.com/question/2083119

#SPJ2

3. technologies such as _____, computers, networks, and the internet and world wide web enable us to communicate globally.

Answers

Technologies such as collaborative documents, computers, networks, the internet, and the world wide web enable us to communicate globally.

What is Technology?

Technology may be characterized as the application of scientific understanding to the reasonable purposes of human life and make it easy.

Collaborative documents assist the member of the wikis to assemble a lot of information in a very short period of time globally. It is easily accessed by all users to gain knowledge and information reserved by a community of people.

Therefore, technologies such as collaborative documents, computers, networks, the internet, and the world wide web enable us to communicate globally.

To learn more about Technologies, refer to the link;

https://brainly.com/question/25110079

#SPJ1

Which technique is best for determining the validity of an id?.

Answers

A technique which is best for determining the validity of an ID is comparing the signature on the ID to a fresh signature given by the ID holder.

What is validity?

Validity is a terminology which is used to determine that there are no errors in a given data set, and that the variables of a data set adheres to the specified standards.

In this scenario, a technique which is best for determining the validity of an ID is to compare the signature on the particular ID to a fresh signature given by the ID holder.

Read more on validity here: https://brainly.com/question/27138101

#SPJ1

In data communication, convergence refers to integrating voice, video, and data so that multimedia information can be used for decision making. True or False

Answers

In data communication, convergence refers to integrating voice, video, and data so that multimedia information can be used for decision making is true.

What is Convergence in Networking?

Convergence in networking is known to take place if one network provider gives networking services in terms of voice, data, and video in only one network offering.

Note that In data communication, convergence refers to integrating voice, video, and data so that multimedia information can be used for decision making is true.

Learn more about communication from

https://brainly.com/question/26152499

#SPJ4

Write the code for a mapping that generates a list of the absolute values of the numbers in a list named numbers.

Answers

Answer (python):

mixednumbers = [49.5,  -2,  -54.5, -87.6,  17.3,  92,  -1.4,  47.7, -27.4, -31.8]

numbers = []

def absolute(num):

 num = abs(num)

 return num

mappednumbers = map(absolute, mixednumbers)

for i in mappednumbers:

 numbers.append(i)

print(numbers)

Explanation (in line numbers):

1 provides the numbers that we will work with in an array called mixednumbers

2 creates an empty array called numbers where we will store the result

4-6 create a function that will take a number, get the absolute value of it, then return it

8 is where we use our function and mixednumbers to create a map named mappednumbers (it contains the numbers in absolute value)

10-11 take each item in the map and append it to our numbers array (printing the map directly will give us a memory address)

12 prints the numbers array, giving us our solution

Output:

[49.5, 2, 54.5, 87.6, 17.3, 92, 1.4, 47.7, 27.4, 31.8]

what is the password based off of the clues

Answers

Answer:

i would say Plane, if not then Plane then the person's birthdate.

Explanation:

The __________ River is Europe’s longest river.

Answers

Answer:

The Volga river is Europes longest river.HOPE IT HELPS

Answer:

The volga river in the eastern part of europe

Fiona was talking to her colleagues about how advancements in digital technology had a negative effect on her life. Which aspect of her

life would Fiona consider to be a negative effect of digital technology?

Answers

The aspect of her life that Fiona consider to be a negative effect of digital technology are:

Her eye sight.Difficulty focusing on vital tasks.Skin as a result of exposure to radiation from tech.

What are the negative effects of digital technology?

The  us of the  Social media and mobile devices are known to lead to a lot of psychological and physical issues, e.g. eyestrain

Note that they may in turn have effect such as serious health conditions, such as depression due to its overuse.

Therefore, The aspect of her life that Fiona consider to be a negative effect of digital technology are:

Her eye sight.Difficulty focusing on vital tasks.Skin as a result of exposure to radiation from tech.

Learn more about technology from

https://brainly.com/question/25110079

#SPJ1

Answer:

B. playing a computer game with many friends.

Explanation:

Other Questions
In contract law, the term consideration refers to the serious thought that underlies a party's intent to enter into a contract.True or False? Select the correct MLA citation format for a full novel."The Giver"The GiverThe GiverThe Giver Copyright law contains an exception known as ______, which provides for a limited set of circumstances where others can use portions of copyrighted material without first obtaining permission. Select the your answer, then click Done. Are there conditions under which the incident light ray undergoes reflection but not transmission at the boundary? if so, then what are those conditions? Mr. Slater invested $100,000 in a portfolio that is contains 60% stocks and 40% bonds. Over the course of a year, the value of the stocks increased to 67%, and the value of the bonds decreased to 33%. The current value of his investment is $118,400. How much should Mr. Slater move from stocks to bonds to rebalance his portfolio to 60% stocks and 40% bonds? A 140.05g sample of NiSO4 . XH2O is heated until there is no further decrease in the mass. The mass of the anhydrous salt is 77.5g. What is the value of X? Write the slope intercept form of each equation of the line. Use a fraction for slope if needed. Parallel to y=3/4x, through (4, -1) Which equation represents a line that is parallel to the line that passes through the points (6,9) and (7,17)? What was a result of the U.S. government setting up new governments in the South during Reconstruction?Southern states set up public school systems.Southern States made it illegal for the Ku Klux Klan to exist.Southern states got rid of the sharecropper system.Southern states banned carpetbaggers. Questions Meet a person who is living for away from family for long time. Ask questions about her feelings about homesickness. PLEASE HELP!!! find the area of the shaded triangle Which of the following solutions to the inequality -7x+14>-3x -6? Select all that apply-1010-55-330 Reword this sentence:Dogs are better than cats because theyre easily smarter. what was the result of interactions between Africans and Europeans Which criterion is the author using in her evaluation? How could the introduction of a nonnative species of plant affect an ecosystem in north carolina? Triangle ABC is an isosceles right triangle. What is the measure of one base angle? 1 , 2 , 3, or 4 Pls help me I only got 10 minutes 21. recibir- ellos22. vivir - ella23. comprender- nosotros24. escribir - tabrir-vosotros26. He recieves27. We read28. Y'all (informal) see29. I live30. I write_31. We write_32. She sees33. They open_34. You (formal) eat_35. We drink36. I open37. You read.38. You undertand can someone do this for me please?! Just the answer pls