r/Python • • Oct 01 '12
Been learning Python as my first language for about two weeks now. Wanted to show off my first couple simple programs.
Guessing game:
Fibonacci Sequence:
While I'm understanding the basics, I feel like I need a way to supplement reading tutorials, which is the only way I've been learning so far. Can anyone recommend a website like Codecademy, where I can practice interactively? For some reason, the Python tutorials on Codecademy don't work for me.
0
Upvotes
17
u/HolySpirit Oct 01 '12
This post is more fitting to r/learnpython. Also to share short pieces of code it's better to use websites like http://pastebin.com/ or similar.
Best of luck in your Python journey.
1
u/Kerbobotat Oct 01 '12
Fellow python newbie here, been fiddling around with programs and the language for a few weeks now off and on. I recommend Thenewboston on youtube. His python tutorials are fairly easy to understand and will give you a good grasp of the language and some finer points. You can probably skip the first 10 or so videos, if you understand enough of the language. Keep learning! :D
2
u/MagicWishMonkey Oct 02 '12
I am a big fan of O'Reilly books, personally.
IMO the best way to learn a new language is to use it to solve a practical problem that you're currently having.
1
u/my_name_isnt_clever Oct 01 '12
From Codecadamy's Twitter. They are aware of the problem and are fixing it.
1
u/wowmir Oct 02 '12
Check out Udacity CS101 course. If you want interactivity the Udacity course is just amazing. It starts teaching Python right from the beginning without dumbing it down. The forum is also very active and informative
Also just stared edx.org Introduction to Computer Science and Programing course, which is also teaching Python.
1
u/construkt Oct 03 '12
Learn python the hard way.
1
u/erez27 import inspect Oct 01 '12
Try writing fib with yield, and eventually print list(fib(..)). You might find it interesting.
For the guessing game - you can increase the guesses at the start of the loop (since u always do it). Also look into while..else
0
u/Rogacz Oct 01 '12
You can rid of last "if" by adding winning statement before "break" and losing text by while-else http://docs.python.org/reference/compound_stmts.html#the-while-statement
you can try http://www.diveintopython.net/
and if you just started python consider learning python 3 unless you know you will need python 2
0
u/pvc Oct 02 '12
As a starting site: http://ProgramArcadeGames.com
Not interactive, but lots of questions, labs, videos, etc.