In today tutorial, we are going to share a Python Program to Convert Celsius to Fahrenheit. If you are a python beginner and want to start learning the python programming, then keep your close attention in this tutorial as I am going to share a Python Program to Convert Celsius to Fahrenheit.
Copy the below python program and execute it with the help of python compiler.
print("Enter 'x' for exit.");
cel = input("Enter Temperature in Celsius: ");
if cel == 'x':
celsius = float(cel);
fahrenheit = (1.8*celsius) + 32;
print("Temperature in Fahrenheit =",fahrenheit);
To increase your Python knowledge, practice all Python programs, here is a collection of 100+ Python problems with solutions.