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:


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
Get step-by-step solutions from verified subject matter experts
