x = int(input("Insert a value in Celsius: ")) x = round(x * (9 / 5) + 32) print(str(x) + 'F')
Output:
Insert a value in Celsius: 98 208F
Insert a value in Celsius: 43 109F
100+ Python Pattern Examples