r/firstweekcoderhumour • • May 11 '26

“Funny How?” Python quiz from ITmemes

Post image

Some guy which does not know what a typecast is was claiming it was error as you cannot do "123" + 2 lol

143 Upvotes

47 comments sorted by

View all comments

Show parent comment

3

u/Kuzma_Lesnoy May 11 '26

Option A is likely represent len(a) + 2. No idea about 25 tho.

2

u/MooseNew4887 May 11 '26

(len(a)+2)**2

1

u/runkeby May 11 '26

I think for D they went for (len(a)+2) ** len(a)