Source Code:
(back to article)
def f(x): if x == 1: return 1 elif x == 2: return 2 elif x == 3: return 3 else: return "Something else" print(f(4))
Result:
Report an issue