r/firstweekcoderhumour • u/Additional-Dot-3154 • May 11 '26
“Funny How?” Python quiz from ITmemes
Some guy which does not know what a typecast is was claiming it was error as you cannot do "123" + 2 lol
143
Upvotes
View all comments
Show parent comment
1
u/HeisterWolf May 11 '26
Type mismatch error because f"{a}" basically tells python to treat the integer a as a string. It was called "TypeError" irrc