Generation

generate functionSun, 16 Jul 2023

take a number and respond with a corresponding poem

def poem(num): if num == 1: return "One fish, two fish" elif num == 2: return "red fish, blue fish" else: return "what's the haps?" poem(1)

Want to kickstart your project?Use the new AI Studio to create your code