Pro:-1 Write a Python Program to Convert Celsius to Fahrenheit and vice –a-versa.(using functions)

preview_player
Показать описание
Write a Python Program to Convert Celsius to Fahrenheit and vice –a-versa. (using functions)
Рекомендации по теме
Комментарии
Автор

sir class 11th cbse CS practical ke sabhi video upload karo, apko practical list Google par mil jayengi

ABC-oocc
Автор

I don’t know how this works for you. I did the same thing and it says the f is not defined

SilvermanMan
Автор

please add audio to your videos ....:)

ayeshabanu
Автор

i did this code and it works just fine



def fahrenheit(c):
return(c*9/5)+32

def celsius(f):
return (f-32)*5/9

i=0
while i==0:
print("press 1 to covert celsius to fahrenheit")
print("press 2 to convert fahrenheit to celsius")
choice=int(input("enter your choice="))

if (choice==1):
c=int(input("enter celsius temperature:"))
print("the temperature in fahrenheit is",
fahrenheit(c))

if(choice==2):
f=int(input("enter fahrenheit temperature="))
print("the temperature in celsius is", celsius(f))

if(choice>=3):
print("enter valid choice")

orgmancuber
Автор

I love the way you started it but since there was no audio, I lost moral. It does not give me anything at all. Is just like copying notes from the chalkboard when the teacher is not there back in elementary schools.

ArniMuras