Just for context, I’ve only started learning Python in the last day, and I’ve had almost no experience coding before then, so I know almost none of the vocabulary.
Which what do you mean by operation? Is the operation the whole code? or a specific part of the code?
What is a valid operation? Is it an operation that doesn’t return an error?
If by valid you mean ‘doesn’t cause an error’, that makes sense - I can see why only 3 and 4 need to be surrounded by a try block for the code not to return an error.
Are you saying that the question is only asking me how to avoid an error?
If I want the code to only print correct values for cel, it seems like I should put print(cell) in the try block.
By correct values, I mean values that are the Celsius equivalent of the Fahrenheit input.