# No else statement, shorter.
def foo(x: int) -> str:
if x%2:
return "first"
return "last"
This is easier to think about for me: am I weird? Numbers can be interpreted as boolean in C but not in Go, which came later and is presumably an improvement.
$ info {command}
although not available for all commands will often give texts that are more tutorial in nature. If you don’t like the interface of info, you can use tkinfo instead.