I haven't really liked peppers since I was a kid. .. .. Practice basic Python grammar while writing code that avoids eating peppers.
for vegitable in ['carrot', 'green pepper', 'lettuce', 'onion', 'garlic']: if vegitable == 'green pepper': continue print(f"I ate {vegitable}.") else: print('I love vegitables!')
Recommended Posts