“Bring to Class” Instructions
Bring the code you write for the below exercise to the following class. There are many ways you can do this.
This is the easiest:
- Sign up for a free Trinket account, create a new trinket, and do the work there. Note: you’ll want to press Save before sharing a link or getting embed code to ensure that others see the latest version of your code.
If you don’t want to create a Trinket account for any reason, here are some options:
- Use the Share button to get a link to your work. Note: you’ll want to get a new link after making any changes. Bookmark or save the link somewhere convenient.
- Copy and paste the code out of trinket, then paste it into a trinket the day of class.
- Download the trinket code and then copy and paste it into a trinket the day of class.
There is nothing to turn in, but you will want to hang on to this code so that you can reference or embed it in future reflections.
Create a turtle program that uses variables, conditionals, operators, and user input.
You’re welcome to use loops for this if that’s something you’re comfortable with. Don’t use functions yet.
Make this program responsive to the user input, using conditionals. Get creative! Can you give your program replay value? with your use of conditionals?