I’m trying to modify a simple program I’d written - https://www.tynker.com/ide/?p=59cc2dae1c36d1cc528b456c
The conditional is where it goes awry.
I want to keep asking the question until I get an answer between 3 and 7.
For 1, 2, 8, 9 ,10 etc it should ask, otherwise draw the shape based on the number of sides.
The code under “when up arrow” is pressed was my original code. But it just exited if I entered 2 sides, rather than give an opportunity to try again.
Look forward to your suggestions.