comparing nice python constructs to Julia