Question: Python: SHOUT your orders! E Problenm program.pyorders.txt file = 'orders . txt' orders.txt = input() A open( ' orders.txt').read ( ) print(A.upper ()) The kitchen

Python:

Python: SHOUT your orders! E Problenm program.pyorders.txt file = 'orders . txt'

orders.txt = input() A open( ' orders.txt').read ( ) print(A.upper ()) The

SHOUT your orders! E Problenm program.pyorders.txt file = 'orders . txt' orders.txt = input() A open( ' orders.txt').read ( ) print(A.upper ()) 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 For example, if orders.txt contains: Tomato and cheese melt Pumpkin soup Chicken and avocado sandwich then your program should output: TOMATO AND CHEESE MELT PUMPKIN SOUP CHICKEN AND AVOCADO SANDWICH Submissions Output Tomato and cheese melt Pumpkin soup Chicken and avocado sandwich Traceback (most recent call last): "program py", line 2, in

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!