Write code thaWrite code that outputs the following. End with a newline.
Do something
greatt outputs the following. End with a newline. Do something great

Answers

Answer 1

The code that outputs the following commands is given below:

The Code

print("Do something\ngreatt outputs the following. End with a newline. Do something great\n")

Your question demanded a code that would write out the exact words and not actually issue commands that would bring out output and as a result, the print function is used to give the output of what you wanted as it shows the words: "End with a newline. Do something great"

Read more about programming here:

https://brainly.com/question/23275071

#SPJ1

Write Code ThaWrite Code That Outputs The Following. End With A Newline.Do Something Greatt Outputs The

Related Questions

Python Code to be wriiten:
Will mark as brainliest if correct!
A bunny can hop at most 50 centimetres far. It wants to cross to the other side of the river, but it cannot swim. So the only hope is to hop on the rocks on the river, which are positioned in a straight line. The positions of the rocks are measured from the start location, assuming that the bunny starts at the 0 cm mark. The opposite bank could be treated as a big rock. It is the final rock in the tuple of rocks.

In the Figure below, the rocks are at locations 32, 46, 70, 85, 96, 123, and the opposite riverbank is at location 145.

The bunny will jump as far as it could for each hop. What is the smallest number of jumps it needs to take to reach the other side of the river? For the above example, it needs to make 3 jumps, as shown in the diagram above.

You may assume that there are at most 20 rocks (including the opposite bank).

Write a function rabbit that takes in a tuple representing the locations of the rocks. Your function should return the minimum number of jumps needed, or -1 if it is not possible for the bunny to reach the other side of the river. You may assume that the locations of the rocks in the tuple are valid (bigger than 0) and they are sorted in ascending order.

def rabbit(rocks):
# Fill in your code here

Test Cases:
rabbit((32, 46, 70, 85, 96, 123, 145)) 3
rabbit((40, 70, 150, 160, 180)) -1
rabbit((30, 70, 75, 120, 160, 170, 180, 190, 200, 246, 258)) 7
rabbit((51, 52, 53, 54, 55, 56, 57, 58)) -1
rabbit((50, 51, 101, 102, 152, 153, 203, 204, 254, 255, 305, 306, 356, 357, 407)) 15

Answers

Just 6 lines of code in Python. We used recursive method. Others are test cases and passed successfully.

def rabbit(rocks, c=0):

   try:

       if max((i for i in rocks if i<=50)) >= rocks[-1]: return (c+1)

       else: return rabbit([tmp-max((i for i in rocks if i<=50)) for tmp in rocks if tmp>50], c+1)

   except ValueError:

       return -1

       

print(rabbit([40, 70, 150, 160, 180]))

print(rabbit([51, 52, 53, 54, 55, 56, 57, 58]))

print(rabbit([32, 46, 70, 85, 96, 123, 145]))

print(rabbit([30, 70, 75, 120, 160, 170, 180, 190, 200, 246, 258]))

What is your opinion of nanotechnology and its impacts? What does this mean for IT? What should next steps be? What other areas should be a concern? What are the ethical issues here?

Answers

My opinion on nanotech is that it has a great future as tech that can be harnessed for good.

What is Nanotechnology?

Nanotechnology is a field of research and development that involves manipulating and engineering materials at the nanometer scale, which is on the order of billionths of a meter.

It has the potential to have a significant impact on a wide range of industries, including electronics, medicine, energy, and materials science.

In the field of IT, nanotechnology could enable the development of smaller and more powerful electronic devices, as well as new forms of data storage and processing.

The next steps in the development of nanotechnology will likely involve further research and experimentation to better understand the potential benefits and risks of this technology, as well as the development of regulations and guidelines to ensure its safe and responsible use.

Other areas of concern include the potential environmental and health risks associated with the use of nanomaterials, as well as the potential for the technology to be used for military or surveillance purposes.

There are also ethical issues related to nanotechnology, such as concerns about the potential for unequal access to the benefits of this technology and the potential for it to be used to control or manipulate living organisms.

Overall, the development of nanotechnology is a complex and multifaceted issue that will require ongoing research and dialogue to ensure that it is used in a responsible and ethical manner.

Read more about nanotechnology here:

https://brainly.com/question/22082928

#SPJ1


Which of the following is not a library that is included with Windows 7?

Answers

Answer:

(Option c) Programs is not a default library in Windows 7.

In Windows 7 there are 6 default libraries, i.e. Documents, Saved Pictures, Music, Pictures, Camera Roll, and Videos. The program is not there.

Explanation:

According to the information, Program is not a default library that is included with Windows 7.

What is a library in windows?

Libraries are collections of folders and files on your computer gathered together from various locations across your computer and network (where applicable). Libraries are accessible via the Navigation pane in Windows Explorer.

A  library in a windows computer system is a collection of folders and files which are spread across any personal computer or network in multiple locations. In Windows 7, there are 6 default libraries, i.e. Documents,  Saved Pictures, Music, Pictures, Camera Roll,  and Videos.

Therefore, the program is not a default library that is included with Windows 7.

To learn more about Windows libraries, refer to the link:

https://brainly.com/question/3644865

#SPJ1

Your question seems incomplete. The most probable complete question is as follows:

Which of the following is not a library that is included with Windows 7?

DocumentsMusicProgramsVideos

TO Data
A mobile application delivers market predictions based on stock data from the
stock market data platform.
Knowing that the data platform can stream its data, how should the application
interact with the data platform to deliver predictions in real time?

Answers

For the better interaction between application and data platform to deliver predictions in real-time: Whether it is numerical or quantitative, any data platform should read all types of data.

How should the application interact with the data platform to deliver predictions in real time? A wide network of NLP should be there for every program so that it can be used for various related topics.When discussing the stock market or stocks in general, a machine learning model can be given financial data like the P/E ratio, total debt, volume, etc. and then determine if a stock is a sound investment. Depending on the financials we give, a model can determine if now is the time to sell, hold, or buy a stock.For the better interaction between application and data platform to deliver predictions in real-time:Whether it is numerical or quantitative, any data platform should read all types of data.A wide network of NLP should be there for every program so that it can be used for various related topics.A data platform should be able to convert any low level data into high level data. It should also be able to detect any fraud or malicious data and remove it.These are some of the points which.should be taken into consideration for the better interaction between application and data platform to deliver predictions in real-time.

To learn more about data platform refer to:

https://brainly.com/question/30051575

#SPJ1

A computer that provides services on a network

Answers

Answer:

Explanation:

A computer or device that provides resources and services to other systems connected to the same network is called a server. Based on the services provided, there are different types of servers like application server, web server, mail server, file server, etc.

Answer:

Digital computer provides service on a network

50points

Which statement about IDs and classes is true?
Any particular class or ID can only be used once per page.
A particular ID can only be used once per page, while a class can be used multiple times.
A particular class can only be used once per page, while an ID can be used multiple times.
Particular classes and IDs can both be used multiple times per page.

Answers

Particular classes and IDs can both be used multiple times per page is the statement about IDs and classes is true. Hence, option D is correct.

What is IDs?

A monitoring system called an intrusion detection system (IDS) looks for abnormal activity and sends out alarms when it does. A security operations centre analyst or incident responder can analyze the problem and take the necessary steps to eliminate the threat based on these notifications.

A network security tool called an intrusion detection system (IDS) was initially developed to identify vulnerability exploits against specific applications or computers.

A system called an intrusion detection system (IDS) watches network traffic for suspicious activity and sends out alerts when it is found.

Thus, option D is correct.

For more information about IDs, click here:

https://brainly.com/question/29038449

#SPJ1

user_num = int(input()) # Program will be tested with values: 1, 2, 3, 4. if user_num = 2: print('Num is not two') else: print('Num is two')

Answers

Answer:

user_num = int(input())

if user_num == 2:

   print('Num is two')

else:

   print('Num is not two')

In this code, the first line prompts the user to enter a value, which is then converted to an integer and assigned to the variable "user_num". Next, the code checks if the value of "user_num" is equal to 2 using an if-else statement. If the value is 2, it prints "Num is two." If the value is anything other than 2, it prints "Num is not two."

Explanation:

This code defines a variable "user_num" and assigns it the value entered by the user, which is converted to an integer. Then, it checks if the value of "user_num" is equal to 2. If it is, it prints "Num is two." If not, it prints "Num is not two." The program will be tested with the values 1, 2, 3, and 4.

You develop and deploy several microservices to an Azure Kubernetes Service (AKS) cluster. The microservices are instrumented with the Application Insights SDK. You configure an Application Insights instance and use the connection string in the instrumentation.

The instrumentation includes a custom telemetry value used to track the order checkout action. Order checkout is an action that includes a property to capture the order number.

You need to capture the custom order telemetry.

Which Application Insights data type should you use?

Select only one answer.

trace

dependency

metric

event

Answers

The Application Insights data type that you use is option D:Event.

What is the data type  about?

An Event is a data type that allows you to track custom events, such as order checkouts, in your application. It can include properties, such as the order number, that provide additional context about the event.

Trace is used to track detailed request-response information, such as the request URL and response status code, for incoming HTTP requests to your application.

Also, Dependency is used to track external dependencies, such as calls to a database or another service, that your application makes.

Learn more about  data type from

https://brainly.com/question/179886

#SPJ1

Company A acquired Company B and they realize that their standard security policy documents do not match. They escalate this issue to the company’s central Security team, who implements a plan to formalize security strategy, high-level responsibilities, policies and procedures around security of both companies.

Which security principle is illustrated in this example?

Answers

A typical definition of governance is an oversight function. Simply said, it is a technique used by businesses to control and manage business risks.

What is meant by governance ?

For the smooth operation of the business and to reduce risk, a firm may utilize a variety of security principles.

In this case, governance is the security principle that is being demonstrated.

The term "oversight role" is frequently used to define governance. Simply said, it's a method by which businesses control and manage business risks.

The regulatory agencies' examination of corporate governance is intense, and shareholder activism is very high. Governance concerns are closely examined by company boards and leadership teams.

In conclusion, the corporate governance process of a firm makes use of components like enterprise risk management, important policies, and the definition and dissemination of corporate control to demonstrate effective governance.

To learn more about security principle refer to:

https://brainly.com/question/30162597

#SPJ1

Other Questions
what must be added to -75 to get 46? call a set of integers spacy if it contains no more than one out of any three consecutive integers. how many subsets of $\{1,2,3,\ldots,12\},$ including the empty set, are spacy? the old way showtimes near sierra vista cinemas 16 fur color in a species of mouse is controlled by a single gene pair. bb animals are black and bb animals are white. bb animals have gray fur and each hair is gray. An astroturf movement is often supported by whom?O Wealthy elitesO ChildrenO TeachersO College students write pseudocode for a program that reads a name (such as harold james morgan) and then prints a monogram consisting of the initial letters of the first, middle, and last name (such as hjm). An amusement park is open May through September. The table shows the attendance each month as a portion of the total attendance. How many times more guests visit the amusement park in the busiest month than in the least busy month? a password is to be 4 to 6 characters long. the first character must be a digit but not 0. the rest of the characters can be any letter or digit. how many such passwords are possible? How were minorities treated during ww2? if you were presenting to a group of outdoor enthusiasts and you talked about your experiences as a member of a local hiking club, what element of your persona (ethos) are you most directly building? rosing, inc., manufactures dog sleds. the company uses direct labor hours as its application base. the predetermined overhead rate for the year was $24.27 per direct labor hour. the estimated manufacturing overhead for the year was $58,248. what was the budgeted number of direct labor hours for the year? The Washington Monument is 169 meters tall.A worker assigned to the restoration of the Washington Monument is checking the condition of the stone at the very top of the monument. A nickel with a mass of 0.005 kg is in her shirt pocket.Q: If the nickel accidentally falls out of her pocket, what will happen to the gravitational potential energy (GPE) of the nickel as it falls to the ground? Pls help me with this one Read the two excerpts from Way to Rainy Mountain and take some notes on the similarities and differences between the past and the present descriptions of the grandmother's house:Except 1 from Way to Rainy Mountain by Scott MomadayOnce there was a lot of sound in my grandmother's house, a lot of coming and going, feasting and talk. The summers there were full of excitement and reunion. The Kiowas are a summer people; they abide the cold and keep to themselves, but when the season turns and the land becomes warm and vital they cannot hold still; an old love of going returns upon them. The aged visitors who came to my grandmother's house when I was a child were made of lean and leather, and they bore themselves upright. They wore great black hats and bright ample shirts that shook in the wind. They rubbed fat upon their hair and wound their braids with strips of colored cloth. Some of them painted their faces and carried the scars of old and cherished enmities. They were an old council of warlords, come to remind and be reminded of who they were. Their wives and daughters served them well. The women might indulge themselves; gossip was at once the mark and compensation of their servitude. They made loud and elaborate talk among themselves, full of jest and gesture, fright and false alarm. They went abroad in fringed and flowered shawls, bright beadwork and German silver. They were at home in the kitchen, and they prepared meals that were banquets.Except 2 from Way to Rainy Mountain by Scott MomadayNow there is a funeral silence in the rooms, the endless wake of some final word. The walls have closed in upon my grandmother's house. When I returned to it in mourning, I saw for the first time in my life how small it was. It was late at night, and there was a white moon, nearly full. I sat for a long time on the stone steps by the kitchen door. From there I could see out across the land; I could see the long row of trees by the creek, the low light upon the rolling plains, and the stars of the Big Dipper. Once I looked at the moon and caught sight of a strange thing. A cricket had perched upon the handrail, only a few inches away from me. My line of vision was such that the creature filled the moon like a fossil. It had gone there, I thought, to live and die, for there, of all places, was its small definition made whole and eternal. A warm wind rose up and purled like the longing within me.Please read the excerpts above and explain how the perception of Momaday's grandmother's house has changed for him after her death at cite least 2 examples:In your opinion and using at least one cite from the reading above, what is the writer's view of nature?: What city does Jake say is his favorite? - New York City- Athens- Mexico City- Rome Respond to the following in complete sentences: Identify which of the following examples uses figurative language to describe the image. What makes the example you identified figurative language Before railroad and automobile the _ river and it _ were the highway for america interior which universal theme does the author develop through the plot of pacals birthday? a. true friends like us exactly as we are. b. we can improve our skills with hard work. c. we should enjoy every day because life is short. d. making mistakes can have serious consequences. part b what were some of the major motivations for spain to colonize the americas? how did the conquistadors and catholic missionaries convince the church to support them? which equation represents these transformations of a cubic function? vertical reflection shift down 3