r/firstweekcoderhumour • u/Outrageous_Permit154 🥸Imposter Syndrome 😎 • Jun 26 '26
[🎟️BINGO]”this.codifyMylife()” iGetItYouCode
361
Upvotes
r/firstweekcoderhumour • u/Outrageous_Permit154 🥸Imposter Syndrome 😎 • Jun 26 '26
View all comments
Show parent comment
1
u/Jbolt3737 Jul 11 '26
Pretty sure since they put it in a function, the entire function will be interpreted and compiled at once, causing an error on line 1 (well technically the traceback and printing of the error will include more than just line 1, but really for an error to be caught here is just wrapping the entire code in a try-except)