Python lambdas are not great but Ruby not having first-class functions is also not great. Neither are perfect and there is no syntactic reason outside of variations of personal taste to choose one language over the other.
There are a boatload of compelling reasons to choose Python for its libraries and documentation and adoption level, though.
There are a boatload of compelling reasons to choose Python for its libraries and documentation and adoption level, though.