''' Write a Python3 program that receives a list of strings on standard input, one per line, reverses each string, and prints them to standard output. ''' import sys # Read the input strings from standard input input_strings = sys.stdin.readlines() # Reverse each string in the list reversed_strings = [string.strip()[::-1] for string in input_strings] # Print the reversed strings to standard output for string in reversed_strings: print(string)