1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Yanka [14]
3 years ago
14

The kitchen in any café is a noisy place. To make sure the orders which you have carefully written down on your notepad make it

to the chef, you'll need to shout them! Write a program to read in lines of input from the file called orders.txt, and print out each line in uppercase.
Computers and Technology
1 answer:
Levart [38]3 years ago
5 0

Answer:

file_name = 'orders.txt'

file_obj = open( file_name, 'r' )

lines = file_obj.read()

print(lines.upper(), end = '')

Explanation:

  • Define the name of the file .
  • Use the built-in open function to open the file in read mode .
  • Use the built-in read function to read the file and assign this to lines variable.
  • Finally display the lines by converting them to capital alphabets by using the built-in upper() function.
You might be interested in
What is the process called if you are erasing data on your hard drive from a MAC
exis [7]
If the requirement is to erase all the data from the hard disk drive on the Mac, then it's best to use a tool known as the Disk Utility. This will delete all the files and volumes on the hard drive. The Disk Utility offers four options:
1. Don't erase data2, Zero out Data3. 7-Pass Erase4. 35-Pass Erase
On the other hand, if the requirement is to delete individual files, then the best thing to do is to highlight the file you want to delete, right-click on it and "Move to trash".
4 0
3 years ago
g How safe is to have a LinkedIn account where you have published all the important information about yourself
irina [24]

Answer:

LinkedIn is very safe

Explanation:

LinkedIn is very safe, that being said you should never post private information about yourself anywhere that you do not want others to see/know. LinkedIn is a job recruiting and networking site, meaning that all the information that you have or will be publishing there should be related to your career. There is no reason for you to publish private information such as document numbers, social security number, address, bank account info, etc.

5 0
3 years ago
Read 2 more answers
______ view is generally used for creating, formatting and designing slide​
Sauron [17]
Normal view is generally used for formatting and designing slide
5 0
3 years ago
in an advertisement is made of a wireless keyboard and a mouse.Name two commonly used methods of connecting devices wirelessly​
DENIUS [597]

Answer:

Wireless LAN

Wireless MAN

Explanation:

I use these methods to connect my wireless devices all of the time and most of my friends do it as well so I am pretty sure it is a commonly used method.

3 0
3 years ago
Hey I just got home I got a call back on and my car was in my bed I got a text and I didn’t get my text back from the house I wa
Phantasy [73]
Y’all what are you tryna say
6 0
3 years ago
Other questions:
  • Assume that a is an array of two or more integers, and that b and c are integers.
    13·1 answer
  • Gmod how to make someone admin on a lan server
    6·2 answers
  • Disk ___________________ helps improve the speed and efficiency of a hard disk.
    6·1 answer
  • Which technology has the potential to be misused to make atomic bombs? A. computer technology B. nuclear technology C. medical t
    14·1 answer
  • What is the Purpose and function of the Global Positioning System (GPS)?
    7·1 answer
  • After you have figured out your storyline, what should be the next thing to
    5·2 answers
  • Which of the following is not a benefit provided by a stakeholder analysis document
    7·1 answer
  • List out various computer generation long with their basic characteristic ​
    13·1 answer
  • Compute the average of a list of user-entered integers representing rolls of two dice. The list ends when 0 is entered. Integers
    12·1 answer
  • What is the correct sequence in which a computer operates​
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!