+ 2

is try a function?

So, coming from the module block we just finished, would the correct terminology for "try" be a function from the standard library?

23rd Oct 2019, 1:22 AM
Scotty Cameron
Scotty Cameron - avatar
3 Respostas
+ 2
Please specify the language you're using in the tags.
23rd Oct 2019, 1:24 AM
Aymane Boukrouh
Aymane Boukrouh - avatar
+ 1
You tagged python so 'try' in python is statement which catch the errors occuring in try block and throw it to 'except' which tells the error!
23rd Oct 2019, 8:42 AM
Chirag Kumar
Chirag Kumar - avatar
+ 1
Is a keyword, not a function
23rd Oct 2019, 8:58 PM
Jake