Generation

generate functionThu, 23 Feb 2023

if anser is yes print 1 else print 2

def anser(a): if a == 'yes': return 1 else: return 2 anser('yes')

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