r/funny • • Jun 09 '12

Pidgonacci Sequence

Post image

[deleted] — view deleted post

1.5k Upvotes

22k comments sorted by

View all comments

Show parent comment

1

u/TurnsIllusions4Money Jun 10 '12

How do I do this with no actual program...on a mac?

1

u/0x24a537r9 Jun 10 '12

Mine works on a Mac. Just open up TextEdit, save the code into a *.py file. Then open up Terminal and navigate to the directory you saved that file in using 'cd' (Google it if it's new to you). Then just type 'python your_file.py' to launch it.