Can anyone give me some tips on making this liltle program smaller

When you ask a question, don’t forget to include a link to the exercise or project you’re dealing with!

If you want to have the best chances of getting a useful answer quickly, make sure you follow our guidelines about how to ask a good question. That way you’ll be helping everyone – helping people to answer your question and helping others who are stuck to find the question and answer! :slight_smile:

Hi @spaniolaa,

We can’t help you unless you post your program. Please follow this guide when you post your code so it displays properly:

Duplicate of Can anyone give me some tips on how to make this shorter or maybe to take an arg