When looking for problems to solve while learning python you can try out http://www.pythonchallenge.com/
Dexter - DexterLabs.nl On Wed, Oct 15, 2014 at 11:20 AM, Perica Zivkovic <perica.zivko...@gmail.com > wrote: > +1 for referring to doc's > > cheers, > > Perica > > On Wed, Oct 15, 2014 at 11:18 AM, Guido Wesdorp <johnnydeb...@gmail.com> > wrote: > >> Actually, I assume we're dealing with someone who has surpassed the >> high-school age a bit (no offence!! :) , since he thinks 'Python is like >> Basic, but without the line numbers' and I think the last Basic I've dealt >> with that had line numbers was pre-Amiga or so... :) I assume this is >> someone who wants to pick up Python as a hobby (or perhaps needs a couple >> of lines of code for some work-related project) after playing with Basic on >> a C-64 or ZX-something or so? >> >> Anyway, I think it would make sense for Marc to read some entry-level >> docs before asking questions here, this stuff is so basic that if you don't >> know that, you will most probably want to read the other 101 stuff too, and >> asking here before reading the beginner docs is time-consuming, not only >> for us, but also for him... I would say, first thing to do would be to >> visit docs.python.org and read >> https://docs.python.org/2/tutorial/index.html (or replace the 2 with 3 >> for the latest Python version), then tinker about a bit, then if you really >> get stuck ask here (I assume you haven't read the docs, else you would >> probably have known that functions ('def') are used for 'subroutines' and >> 'class' is more of a container of data and functions rather than a callable >> block of code). >> >> Cheers, >> >> Guido >> >> On Wed, Oct 15, 2014 at 11:02 AM, Dorian Hoxha <dorian.ho...@gmail.com> >> wrote: >> >>> We probably did. >>> >>> 2014-10-15 10:54 GMT+02:00 Winfried Tilanus <winfr...@tilanus.com>: >>> >>>> On 10/14/2014 09:42 PM, Geert Stappers wrote: >>>> >>>> Hoi, >>>> >>>> > def proefje(): >>>> > x=0 >>>> > while x<5: >>>> > print x >>>> > x=x+1 >>>> > >>>> > while 1: >>>> > a=raw_input("nog eens?j/n") >>>> > if a=="j": >>>> > proefje() >>>> > else: >>>> > break >>>> >>>> Ik vraag me wel af of we nu niet iemands huiswerk hebben zitten >>>> maken... ;-) >>>> >>>> groet, >>>> >>>> Winfried >>>> _______________________________________________ >>>> Python-nl mailing list >>>> Python-nl@python.org >>>> https://mail.python.org/mailman/listinfo/python-nl >>>> >>> >>> >>> _______________________________________________ >>> Python-nl mailing list >>> Python-nl@python.org >>> https://mail.python.org/mailman/listinfo/python-nl >>> >>> >> >> _______________________________________________ >> Python-nl mailing list >> Python-nl@python.org >> https://mail.python.org/mailman/listinfo/python-nl >> >> > > _______________________________________________ > Python-nl mailing list > Python-nl@python.org > https://mail.python.org/mailman/listinfo/python-nl > >
_______________________________________________ Python-nl mailing list Python-nl@python.org https://mail.python.org/mailman/listinfo/python-nl