I need help with my python assignment ...
`````````````````````````````````````````````````````````````````````````````````````````````
Create a program called Lab3B2 that will ask the user for two integers. The first number should be larger
than the second.
Write a while loop that will keep looping and asking the user to re-enter the numbers if the second
number is larger than the first.
After the while loop has finished, it should print “We have 10’s!” if any of the following things are true
• If either number is divisible by 10
• If their sum or their difference is divisible by 10.
If none of those things are true, it should print “No 10’s here.”



`````````````````````````````````````````````````````````````````````````````````````````````````````````````````````

Answers

Answer 1

Answer:

while(True):

 num1 = int(input("Enter first number: "))

 num2 = int(input("Enter second number: "))

 if (num1 > num2): break

 print("First number has to be larger than the second number. Please try again.")

if (num1 % 10 == 0) or (num2 % 10 == 0) or ((num1+num2) % 10 == 0) or ((num1-num2) % 10 == 0):

 print("We have 10's!")

else:

 print("No 10’s here.")

Explanation:

The % 10 operation returns 0 if the number is divisible by 10.


Related Questions


Help Menu is available at which button in the keyboard?

Answers

Answer: It should be F1.

Question 1 of 10 Which two scenarios are most likely to be the result of algorithmic bias? A. A person is rejected for a loan because they don't have enough money in their bank accounts. B. Algorithms that screen patients for heart problems automatically adjust points for risk based on race. C. The résumé of a female candidate who is qualified for a job is scored lower than the résumés of her male counterparts. D. A student fails a class because they didn't turn in their assignments on time and scored low on tests. ​

Answers

Machine learning bias, also known as algorithm bias or artificial intelligence bias, is a phenomenon that happens when an algorithm generates results that are systematically biased as a result of false assumptions made during the machine learning process.

What is machine learning bias (AI bias)?Artificial intelligence (AI) has several subfields, including machine learning. Machine learning relies on the caliber, objectivity, and quantity of training data. The adage "garbage in, garbage out" is often used in computer science to convey the idea that the quality of the input determines the quality of the output. Faulty, poor, or incomplete data will lead to inaccurate predictions.Most often, issues brought on by those who create and/or train machine learning systems are the source of bias in this field. These people may develop algorithms that reflect unintentional cognitive biases or actual prejudices. Alternately, the people could introduce biases by training and/or validating the machine learning systems using incomplete, inaccurate, or biased data sets.Stereotyping, bandwagon effect, priming, selective perception, and confirmation bias are examples of cognitive biases that can unintentionally affect algorithms.

To Learn more about Machine learning bias refer to:

https://brainly.com/question/27166721

#SPJ9

PLZZ HELPP MEE!!

What projects would Excel best be used for? Be sure to say the name of the project and how you would go about creating it.

Answers

In my opinion, I believe Excel would be best used for any project really. But it will be most helpful when it comes down to reports and finance data and things like that. I would do something like how much income will I receive over the next few months to a year. And I will create a graph sowing my income for each month. But like I stated earlier, Excel is mainly used for graphs and almost every project has a graph so, it would actually be good for all things.

Hope this helps! :))

Declare a 4 x 5 list called N.

Using for loops, build a 2D list that is 4 x 5. The list should have the following values in each row and column as shown in the output below:

1 3 5 7 9
1 3 5 7 9
1 3 5 7 9
1 3 5 7 9
Write a subprogram called printList to print the values in N. This subprogram should take one parameter, a list, and print the values in the format shown in the output above.

Call the subprogram to print the current values in the list (pass the list N in the function call).

Use another set of for loops to replace the current values in list N so that they reflect the new output below. Call the subprogram again to print the current values in the list, again passing the list in the function call.

1 1 1 1 1
3 3 3 3 3
5 5 5 5 5
7 7 7 7 7

Answers

Answer:

# Define the list N

N = [[0 for j in range(5)] for i in range(4)]

# Populate the list with the initial values

for i in range(4):

   for j in range(5):

       N[i][j] = 2*j + 1

# Define the subprogram to print the list

def printList(lst):

   for i in range(len(lst)):

       for j in range(len(lst[i])):

           print(lst[i][j], end=' ')

       print()

# Print the initial values of the list

printList(N)

Output
1 3 5 7 9

1 3 5 7 9

1 3 5 7 9

1 3 5 7 9

--------------------------------------------------------------------

# Update the values of the list

for i in range(4):

   for j in range(5):

       N[i][j] = 2*i + 1

# Print the new values of the list

printList(N)

Output

1 1 1 1 1

3 3 3 3 3

5 5 5 5 5

7 7 7 7 7

Explanation:

What type of 3-phase connection requires only two transformers?

Answers

The use of two single-phase transformers to step down a high 3-phase voltage to a lower 3-phase voltage is possible using a rudimentary configuration dubbed an "open delta."

What is a single-phase transformer?For industrial applications, three phase transformers perform significantly better. Most heating, air conditioning, lighting, and house applications employ single phase systems in residential settings. When compared to low-power industrial systems and machines, they are less productive. A specific type of transformer called a single phase transformer functions using only one phase of power. This device carries electrical power from one circuit to another by the mechanism of electromagnetic induction. It is a passive electrical device. A transformer cannot change single-phase electricity into three-phase power, even if single-phase power can be produced from a three-phase power source. Phase converters or variable frequency drives are needed to convert single-phase electricity to three-phase power.

To learn more about single phase transformers, refer to:

https://brainly.com/question/29665451


Write down the steps that you will take to organize your files

Answers

I don't have much context but I will try my best to answer your question.

To organize files, you would need to create Folders and Subfolders, these will keep your files in their respectful places as long as you continue to move the files to those respected folders.

Answer:

going alongside cashaunn you do want different folders for different subjects ie: Business/Work or School Subjects you'll want different folders and subfolders to store the respected files. Each Folder and File respectivly should have a TITLE as well so in the future you can easily access the files needed without having to scramble through all your saved files just type in the file name and BAM! you got the file.

Explanation:

HOPE THIS HELPS!!!

PLEASE GIVE BRAINLIEST!!!

A memory hierarchy is composed of an upper level and a lower level. Assume a CPU with 1ns clock cycle time. Data is requested by the processor. 8 out of 10 requests find the data in the upper level and return the data in 0.3ns. The remaining requests require 0.7 ns to return the data. Determine the corresponding values for the upper level memory.
Hit rate =
Miss rate =
Hit time =
Miss penalty =
AMAT =

Answers

Answer:

Hit rate = 80%

Miss rate = 20%

Hit time = 0.3 ns  

Miss penalty = 0.4 ns

AMAT ≈ 3.875 ns

Explanation:

8 out of 10 = 0.3ns. to return data  ( also finds data in the upper level )

2 out of 10 = 0.7 ns to return data

a) Hit rate in upper level memory

= 8/10 * 100 = 80%

b) Miss rate

= 2/ 10 * 100 = 20%

c) Hit time in the upper level memory

Hit time = 0.3 ns

d) Miss penalty

This is the time taken by the missed requests to return their own data

= 0.7 ns -  0.3 ns =  0.4 ns

e) AMAT ( average memory access time )

Hit rate = 80% , Hit time = 0.3ns

miss rate = 20%  Miss time = 0.7 ns

hence AMAT = (0.3 / 0.8 ) +  (0.7 / 0.2 )

                      ≈ 3.875 ns

HELP ASAP PLZ PLZ PLZTegan is playing a computer game on her smartphone and the battery is getting low. When she goes to charge her phone, she notices that the cord is broken. What can Tegan do to solve her problem?
Plug in the smartphone to charge.
Put tape around the broken part of the cord.
Ask a trusted adult for help replacing the cord.
Use the laptop charger instead.

Answers

Answer:

3rd choice

Explanation:

Select the correct answer.
What type of depth of field did the photographer use for the image shown?
Ο Α.
a large depth of field
OB.
a small depth of field
O C.
a close depth of field
D.
a large as well as a small depth of field
OE.
no depth of field

Select the correct answer.What type of depth of field did the photographer use for the image shown? .a

Answers

Answer:

I think it's C. but not a 100%

Answer: It all ears to be a large depth of field

Explanation:

Elements in both the foreground and the background seem to be in focus, just as much as the bench. A small depth of field would have had the bench in sharp focus with the background and foreground out of focus.

Assuming the user types the sentence


Try to be a rainbow in someone's cloud.


and then pushes the ENTER key, what will the value of ch be after the following code executes?.


char ch = 'a';

cin >> ch >> ch >> ch >> ch;

(in c++)

Answers

The value of ch will be the character entered by the user after executing the code.

What is the value of ch after executing the code?

The code snippet cin >> ch >> ch >> ch >> ch; reads four characters from the user's input and assigns them to the variable ch. Since the user input is "Try to be a rainbow in someone's cloud." and the code reads four characters, the value of ch after the code executes will depend on the specific characters entered by the user.

In conclusion, without knowing the input, it is not possible to determine the exact value of ch. Therefore, the value of ch will be the character entered by the user after executing the code.

Read more about code execution

brainly.com/question/26134656

#SPJ1

Create another method: getFactorial(int num) that calculates a Product of same numbers, that Sum does for summing them up. (1,2,3 ... num) Make sure you use FOR loop in it, and make sure that you pass a number such as 4, or 5, or 6, or 7 that you get from a Scanner, and then send it as a parameter while calling getFactorial(...) method from main().

Answers

Answer:

The program in Java is as follows;

import java.util.*;

public class Main{

public static int getFactorial(int num){

    int fact = 1;

    for(int i =1;i<=num;i++){

        fact*=i;

    }

    return fact;

}

public static void main(String[] args) {

 Scanner input = new Scanner(System.in);

 System.out.print("Number: ");

 int num = input.nextInt();  

 System.out.println(num+"! = "+getFactorial(num)); }}

Explanation:

The method begins here

public static int getFactorial(int num){

This initializes the factorial to 1

    int fact = 1;

This iterates through each digit of the number

    for(int i =1;i<=num;i++){

Each of the digits are then multiplied together

        fact*=i;     }

This returns the calculated factorial

    return fact; }

The main begins here

public static void main(String[] args) {

 Scanner input = new Scanner(System.in);

This prompts the user for number

 System.out.print("Number: ");

This gets input from the user

 int num = input.nextInt();  

This passes the number to the function and also print the factorial

 System.out.println(num+"! = "+getFactorial(num)); }}

What did Aristotle teach?

Answers

Philosophy, I beleive. He tought Sikander liturature and eloquence, but his most famous teachings were of philosophy.

Aristotle taught the world science. He was considered the best scientists of his time.


When you want to add a chart to your Word Document or PowerPoint Presentation, which of the following opens to allow you to input your information?

a. PowerPoint® presentation

b. Access table

c. Another Word document

d. Excel spreadsheet

Answers

Answer:

d. Excel spreadsheet

Explanation:

When you want to add a chart to a Word Document or PowerPoint Presentation, you can use an Excel spreadsheet to input your data and create the chart. Excel is a powerful tool for creating and managing data, and its charting features allow you to easily create professional-looking charts that can be easily inserted into your Word or PowerPoint documents.

To create a chart in Excel, you can follow these steps:

Open Excel and enter your data into a worksheet.Select the data you want to include in the chart.Click the Insert tab and select the type of chart you want to create.The chart will be inserted into your worksheet and you can customize it by adding labels, changing the colors, and applying other formatting options.Once you are satisfied with the appearance of your chart, you can copy it and paste it into your Word or PowerPoint document.

Using Excel to create your charts is a convenient and easy way to add professional-looking visuals to your documents.

determine if each statement is true or false:

graphics designers are responsible for communicating a message: TRUE

portfolios are not important for graphic design careers: FALSE


professional graphic designers join the american institute of graphic arts: TRUE

Answers

Answer:

TRUE

FALSE

TRUE

Explanation:

Graphic designers are sometimes known as communications designers. They communicate information through the creation of visuals. This can be in the form of logos, fliers, animations and so many others.

1) Graphic designers are responsible for communicating a message. This is TRUE because this is the top reason for their profession. They communicate messages/ pass information through their designs to the desired audience.

2) Portfolios are not important for graphic design careers. This is FALSE. Having portfolios is necessary for graphic designers. This enables them to have a record of all their work so as to showcase to new clients that may set them up for more jobs.

3) Professional graphic designers join the American Institute of Graphic Arts. This is TRUE. The American Institute for Graphic Arts is a professional organization meant for people in the design industry and this includes graphic designers.

________________ is one example of a career that is available within the web and digital communications path.

Question 13 options:

Multimedia artists and animators


Engineer


Police Officer


Programmer

Answers

Answer:

multimedia artists and animators

. Write a program to calculate the square of 20 by using a loop
that adds 20 to the accumulator 20 times.

Answers

The program to calculate the square of 20 by using a loop

that adds 20 to the accumulator 20 times is given:

The Program

accumulator = 0

for _ in range(20):

   accumulator += 20

square_of_20 = accumulator

print(square_of_20)

Algorithm:

Initialize an accumulator variable to 0.

Start a loop that iterates 20 times.

Inside the loop, add 20 to the accumulator.

After the loop, the accumulator will hold the square of 20.

Output the value of the accumulator (square of 20).

Read more about algorithm here:

https://brainly.com/question/29674035

#SPJ1

what is collaboration

Answers

Answer:

the action of working with someone to produce or create something.

Collaboration is the process of two or more people, entities or organizations working together to complete a task or achieve a goal. Collaboration is similar to cooperation. Most collaboration requires leadership, although the form of leadership can be social within a decentralized and egalitarian group.

Which statement describes part of the meeting scheduling process? It is always an all-day event. It is created in a single calendar. It cannot be viewed by anyone except the meeting organizer. It requires recipients of the meeting request to respond.

Answers

Answer:

C)

Explanation:

It cannot be viewed by anyone except the meeting organizer.

The statement describes part of the meeting scheduling process as it cannot be viewed by anyone except the meeting organizer. The correct option is C.

What is the meeting scheduling process?

Future meetings can be planned using scheduled meetings, either as one-time events or recurrent ones. You can send an email invitation to create the meeting or access your calendar (or manually open the calendar of any contacts) to plan upcoming meetings.

Meetings should be planned and held often because they give staff members the chance to voice their opinions, ideas, and concerns in a relaxed and cooperative setting.

Scheduling is used to distribute resources for equipment and buildings, prepare for human resources, organize work processes, and buy goods. It is a crucial tool for engineering and industry, as it can significantly affect a process' productivity.

Therefore, the correct option is C, It cannot be viewed by anyone except the meeting organizer.

To learn more about the scheduling process, refer to the link:

https://brainly.com/question/15711816

#SPJ3

What name is given to the assurance that requested information is available to authorized users upon request

Answers

Answer:

Availability

Explanation:

With Data availability, it means that we are saying that information is accessible to users. This gives the assurance of the system and also the data being accessible to authenticated users anytime they have the need for it.

It is simply saying that information would be operable by users with authorization whenever they request to.

Relating to Blue Cross Blue shield billing notes what are some medical terms with corresponding billing rules

Answers

Relating to Blue Cross Blue shield billing notes what are some medical terms with corresponding billing rules are:

1. Diagnosis Codes

2. CPT Codes

3. E/M Codes

4. HCPCS Codes

5. Place of Service Codes

How is this so?

1. Diagnosis Codes  -  These are alphanumeric codes from the International Classification of Diseases, 10th Revision (ICD-10), used to describe the patient's medical condition. They are essential for accurate billing and reimbursement.

2. CPT Codes  -  Current Procedural Terminology (CPT) codes are five-digit numeric codes that represent specific medical procedures, treatments, or services provided to the patient. These codes are used to determine reimbursement rates.

3. E/M Codes  -  Evaluation and Management (E/M) codes are a subset of CPT codes that specifically represent the time and complexity involved in assessing and managing a patient's medical condition during an office visit or consultation.

4. HCPCS Codes  -  Healthcare Common Procedure Coding System (HCPCS) codes are alphanumeric codes used to identify specific medical supplies, equipment, and services not covered by CPT codes. These codes are often used for durable medical equipment or outpatient procedures.

5. Place of Service Codes  -  These codes indicate where the healthcare service was rendered, such as an office, hospital, or clinic. They help determine the appropriate reimbursement rate based on the location of the service.

Learn more about medical terms at:

https://brainly.com/question/8628788

#SPJ1

Whya (repeat) block would be used in a project?

Answers

So it will keep on repeating the block so he cat keeps on moving forward

Use the drop-down menus to complete statements about how to use the database documenter

options for 2: Home crate external data database tools

options for 3: reports analyze relationships documentation

options for 5: end finish ok run

Use the drop-down menus to complete statements about how to use the database documenteroptions for 2:

Answers

To use the database documenter, follow these steps -

2: Select "Database Tools" from   the dropdown menu.3: Choose "Analyze"   from the dropdown menu.5: Click on   "OK" to run the documenter and generate the desired reports and documentation.

How is this so?

This is the suggested sequence of steps to use the database documenter based on the given options.

By selecting "Database Tools" (2), choosing "Analyze" (3), and clicking on "OK" (5), you can initiate the documenter and generate the desired reports and documentation. Following these steps will help you utilize the database documenter effectively and efficiently.

Learn more about database documenter at:

https://brainly.com/question/31450253

#SPJ1

which of the following may result from malware? group of answer choices spam may be sent from your computer. contents on your hard drive may be erased. secure information may be obtained from your computer. backdoors may be created.

Answers

Using a distance Trojan (RAT) is a type of malicious software that users frequently unknowingly install and that opens a backdoor for hackers to utilize later to remotely access the machine.

Malware could have what effects?

Once malware is installed on your device, criminals can use it to steal your private data, send you unwanted or inappropriate advertisements, demand payment to decrypt data that has been encrypted by ransomware, and leave your device open to other infections.

What malware deletes or obliterates data from your computer?

The cybercriminal has access to a variety of functions through the Trojan horse, including data theft, malware installation, file modification, file monitoring, data destruction, data theft of financial data, denial of service (DoS) assaults against certain web addresses, and more.

To know more about Trojan visit :-

https://brainly.com/question/9171237

#SPJ4

role of the computer for the development of a country​

Answers

Computers have a transformative impact on the development of a country by driving economic growth, revolutionizing education, fostering innovation, improving governance, and promoting connectivity.

Economic Growth: Computers play a crucial role in driving economic growth by enabling automation, streamlining processes, and increasing productivity. They facilitate efficient data management, analysis, and decision-making, leading to improved business operations and competitiveness.

Education and Skills Development: Computers have revolutionized education by providing access to vast amounts of information and resources. They enhance learning experiences through multimedia content, online courses, and virtual simulations.

Innovation and Research: Computers serve as powerful tools for innovation and research. They enable scientists, engineers, and researchers to analyze complex data, simulate experiments, and develop advanced technologies.

High-performance computing and artificial intelligence are driving breakthroughs in various fields, such as medicine, energy, and engineering.

Communication and Connectivity: Computers and the internet have revolutionized communication, enabling instant global connectivity. They facilitate real-time collaboration, information sharing, and networking opportunities. This connectivity enhances trade, international relations, and cultural exchange.

Governance and Public Services: Computers play a vital role in improving governance and public service delivery. They enable efficient data management, e-governance systems, and digital platforms for citizen engagement. Computers also support public utilities, healthcare systems, transportation, and security infrastructure.

Job Creation: The computer industry itself creates jobs, ranging from hardware manufacturing to software development and IT services. Moreover, computers have catalyzed the growth of other industries, creating employment opportunities in sectors such as e-commerce, digital marketing, and software engineering.

Empowerment and Inclusion: Computers have the potential to bridge the digital divide and empower marginalized communities. They provide access to information, educational opportunities, and economic resources, enabling socio-economic inclusion and empowerment.

For more such questions on economic growth visit:

https://brainly.com/question/30186474

#SPJ11

Find a regular grammar that generates the language L(aa*(ab+a)*)

Answers

Answer:

S → aAB

A → a | ɛ

B → abB | aB | ɛ

Explanation:

Long time ago I did this, but I think this does the job?

Regular grammar for language L(aa*(ab+a)*):

S -> aA, A -> aA | B, B -> ab | a | ε.

We have,

To construct a regular grammar that generates the language

L(aa*(ab+a)*), we need to break it down into its basic components and then define the production rules for each part.

The language L(aa*(ab+a)) consists of strings that start with one or more 'a's (aa), followed by either the string "ab" or just "a" (ab+a)*.

Note that the "ab+a" part can repeat zero or more times.

Here is the regular grammar:

- Start with the initial non-terminal S.

- The production rules are as follows:

S -> aA

A -> aA | B

B -> ab | a | ε

- Explanation of the production rules:

S -> aA: The string starts with an 'a', followed by A.

A -> aA: If the string contains more 'a's, it remains in A and continues adding 'a's.

A -> B: If the string contains "ab" or just "a", it goes to B.

B -> ab: The string contains "ab".

B -> a: The string contains only "a".

B -> ε: The string is empty.

This grammar generates strings in the language L(aa*(ab+a)*).

The notation "ε" represents an empty string (i.e., the production rule does not add any symbols to the string).

Thus,

Regular grammar for language L(aa*(ab+a)*):

S -> aA, A -> aA | B, B -> ab | a | ε.

Learn more about regular grammar for languages here:

https://brainly.com/question/31423942

#SPJ3

Marc is a gamer and is in the market for a new computer to support a lot of graphics. He needs to find a computer with a high amount of RAM, because the higher the RAM, the faster it will function.

A: True
B: False

Answers

Since Marc is a gamer and is in the market for a new computer to support a lot of graphics. He needs to find a computer with a high amount of RAM, because the higher the RAM, the faster it will function is option A: true statement.

What is the statement of the higher the RAM, the faster it will function about?

In regards to computing, when the RAM is known to be faster, one can say also that  the faster will be the computer  the processing speed.

Note that when there is a faster RAM, a person or a computer user can be able to increase the speed through which the computer memory moves information to other parts of the system.

This implies that  there is a fast processor and thus an equally faster means of talking to the other areas of the system, making the computer to be much more good.

Therefore, Since Marc is a gamer and is in the market for a new computer to support a lot of graphics. He needs to find a computer with a high amount of RAM, because the higher the RAM, the faster it will function is option A: true statement.

Learn more about RAM from

https://brainly.com/question/13196228

#SPJ1

4. SHORT ANSWERS:
i. Suppose tree T is a min heap of height 3.
- What is the largest number of nodes that T can have? _____________________
- What is the smallest number of nodes that T can have? ____________________

ii. The worst case complexity of deleting any arbitrary node element from heap is ___________

Answers

Answer:

i. A min heap of height 3 will have a root node with two children, each of which has two children of its own, resulting in a total of 7 nodes at the bottom level. Therefore:

The largest number of nodes that T can have is 1 + 2 + 4 + 7 = 14.

The smallest number of nodes that T can have is 1 + 2 + 4 = 7.

ii. The worst case complexity of deleting any arbitrary node element from a heap is O(log n), where n is the number of nodes in the heap. This is because deleting a node from a heap requires maintaining the heap property, which involves swapping the deleted node with its child nodes in order to ensure that the heap remains complete and that the heap property is satisfied. This process requires traversing the height of the tree, which has a worst-case complexity of O(log n).

Explanation:

Jason works as a financial investment advisor. He collects financial data from clients, processes the data online to calculate the risks associated with future investment decisions, and offers his clients real-time information immediately. Which type of data processing is Jason following in the transaction processing system?

A.
online decision support system
B.
online transaction processing
C.
online office support processing
D.
online batch processing
E.
online executive processing

Answers

Answer:

The answer to this question is given below in the explanation section.

Explanation:

The correct answer to this question is an online decision support system. Because the decision support systems process the data, evaluate and predict the decision, and helps the decision-makers,  and offer real-time information immediately in making the decision in an organization. So the correct answer to this question is the decision supports system.

Why other options are not correct

Because the transaction processing system can only process the transaction and have not the capability to make the decision for the future. Office support processing system support office work, while the batch processing system process the task into the batch without user involvement.   however, online executive processing does not make decisions and offer timely information to decision-makers in an organization.

Answer: the answer is A.

Explanation: He has to listen to what the people tell him and think about the information he has and make a choice on what to reply with.

The city of Green Acres is holding an election for mayor. City officials have decided to automate the process of tabulating election returns and have hired your company to develop a piece of software to monitor this process. The city is divided into five precincts. On election day, voters go to their assigned precinct and cast their ballots. All votes cast in a precinct are stored in a data file that is transmitted to a central location for tabulation.

Required:
Develop a program to count the incoming votes at election central.

Answers

Answer:

Explanation:

The following program asks the user to enter the precinct number and then loops to add votes until no more votes need to be added. Then it breaks the loop and creates a file called results to save all of the results for that precinct.

precinct = input("Enter Precinct Number: ")

option1 = 0

option2 = 0

while True:

   choice = input("Enter your vote 1 or 2: ")

   if int(choice) == 1:

       option1 += 1

   else:

       option2 += 1

   endVote = input("Vote again y/n")

   if endVote.lower() != 'y':

       break

f = open("results.txt", "w")

f.write("Precinct " + precinct + ": \nOption 1: " + str(option1) + "\nOption 2: " + str(option2))

The city of Green Acres is holding an election for mayor. City officials have decided to automate the

What command would you use to place the cursor in row 10 and column 15 on the screen or in a terminal window

Answers

Answer:

tput cup 10 15

Explanation:

tput is a command for command line environments in Linux distributions. tput can be used to manipulate color, text color, move the cursor and generally make the command line environment alot more readable and appealing to humans. The tput cup 10 15 is used to move the cursor 10 rows down and 15 characters right in the terminal