Aluko Kenny

Generation

generate functionSat, 13 May 2023

To test if a number is greater or less than 5

def test_number(num): if num > 5: return "greater than five" elif num < 5: return "less than five" else: return "five"

Questions about programming?Chat with your personal AI assistant