10 lines
163 B
Python
10 lines
163 B
Python
from typing import Optional
|
|
|
|
|
|
def code(arg: Optional[bool]) -> str:
|
|
if arg is None:
|
|
return "a"
|
|
elif arg is True:
|
|
return "b"
|
|
return "c"
|