#!/usr/bin/env python3.7
temp=input("Enter Celcius/Farenheit like 30C/120F:\n")
value=int(temp[:-1])
cf=(temp[-1])
print(cf)
if (cf == "C") or (cf == "c"):
  ext="F"
  result = int(round((9 * value) / 5 + 32))
elif (cf == "f") or (cf == "F"):
  ext="C"
  result = int(round((value - 32) * 5 / 9))
else:
  print("enter the value with proper extention")
  quit()
val=str(result)
print("The conversion of", temp, "is :" , val+ext)



1c8d74e6314e789ebbc7694377d1b3cd41d123c8
<mask token>

<mask token>
print(cf)
if cf == 'C' or cf == 'c':
    ext = 'F'
    result = int(round(9 * value / 5 + 32))
elif cf == 'f' or cf == 'F':
    ext = 'C'
    result = int(round((value - 32) * 5 / 9))
else:
    print('enter the value with proper extention')
    quit()
<mask token>
print('The conversion of', temp, 'is :', val + ext)

temp = input('Enter Celcius/Farenheit like 30C/120F:\n')
value = int(temp[:-1])
cf = temp[-1]
print(cf)
if cf == 'C' or cf == 'c':
    ext = 'F'
    result = int(round(9 * value / 5 + 32))
elif cf == 'f' or cf == 'F':
    ext = 'C'
    result = int(round((value - 32) * 5 / 9))
else:
    print('enter the value with proper extention')
    quit()
val = str(result)
print('The conversion of', temp, 'is :', val + ext)

#!/usr/bin/env python3.7
temp=input("Enter Celcius/Farenheit like 30C/120F:\n")
value=int(temp[:-1])
cf=(temp[-1])
print(cf)
if (cf == "C") or (cf == "c"):
  ext="F"
  result = int(round((9 * value) / 5 + 32))
elif (cf == "f") or (cf == "F"):
  ext="C"
  result = int(round((value - 32) * 5 / 9))
else:
  print("enter the value with proper extention")
  quit()
val=str(result)
print("The conversion of", temp, "is :" , val+ext)


