print("Enter 'x' for exit.");
string = input("Enter any string to convert in uppercase: ");
if string == 'x':
    exit();
else:
    string_in_uppercase = string.upper();
    print("\nString in Uppercase =",string_in_uppercase);
