import random
def my_max(list):
max_num = list[0]
for i in list:
if max_num < i:
max_num = i
return max_num
a=[10,20,30,50,40,60]
print(my_max(a))
def menu():
rice = ['오므라이스', '참치김밥', '제육덮밥', '설렁탕', '된장찌개']
bread = ['치즈버거', '샌드위치', '마르게리타 피자', '머시룸 파니니']
etc = ['쌀국수', '떡볶이', '훠궈', '파스타', '만두', '치킨']
lunch_menu = input()
if lunch_menu == '밥':
print(random.choice(rice))
elif lunch_menu == '빵':
print(random.choice(bread))
else:
print(random.choice(etc))
menu()
To embed this project on your website, copy the following code and paste it into your website's HTML: