Comment

Comment by mpva

I'm confused.

The code you have on one of the quiz questions is:

----------------

a = 1 b = 2 c = 3

def calculator(a,b,c): b = a - c a = 2 return a+b

x = calculator(c,b,a) print(x)

----------------

This returns 4. But the only options you have are:

A. no output B. 0 C. 3

parent mpva 5 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton