vyper
vyper copied to clipboard
VIP: Ternary operator
Simple Summary
Add ternary operator to Vyper:
def hello(a: uint256, b: uint256) -> uint256:
return a if a < b else b