Mar-18-2017, 09:27 PM
(Mar-18-2017, 01:21 AM)ichabod801 Wrote: Works fine for me, prints 1, 2, 3. It must be your Anaconda/Spyder installation. Can you print other things?
p.s. Use python tags (https://python-forum.io/misc.php?action=help&hid=25), I added them for you this time.
Thank you for the reply.There was indeed a problem with spyder. Just reinstalled everything and it works fine now.