You had already closed the bracket in the print of your if block
print((temperature) # remaining code
you should make them in whole single context as pyhron is assumin that if is already closed so elif needed
print((temperature + "fdeg=" + temp))
elif # this will work fine