Write a program that accepts sequence of lines as input and prints the lines after making all characters in the sentence capitalized.
Topic: Write a program that accepts sequence of lines as input and prints the lines after making all characters in the sentence capitalized.
Solution
lines = [] while True: s = input() if s: lines.append(s.upper()) else: break; for sentence in lines: print(sentence)
List all Python Programs