<div dir="ltr">When looking for problems to solve while learning python you can try out <a href="http://www.pythonchallenge.com/">http://www.pythonchallenge.com/</a><div><br></div></div><div class="gmail_extra"><br clear="all"><div><div dir="ltr">Dexter - <a href="http://DexterLabs.nl" target="_blank">DexterLabs.nl</a></div></div>
<br><div class="gmail_quote">On Wed, Oct 15, 2014 at 11:20 AM, Perica Zivkovic <span dir="ltr"><<a href="mailto:perica.zivkovic@gmail.com" target="_blank">perica.zivkovic@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">+1 for referring to doc's<div><br></div><div>cheers,</div><div><br></div><div>Perica</div></div><div class="gmail_extra"><br><div class="gmail_quote"><span class="">On Wed, Oct 15, 2014 at 11:18 AM, Guido Wesdorp <span dir="ltr"><<a href="mailto:johnnydebris@gmail.com" target="_blank">johnnydebris@gmail.com</a>></span> wrote:<br></span><div><div class="h5"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>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?<br><br></div>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 <a href="http://docs.python.org" target="_blank">docs.python.org</a> and read <a href="https://docs.python.org/2/tutorial/index.html" target="_blank">https://docs.python.org/2/tutorial/index.html</a> (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).<br><br></div>Cheers,<br><br>Guido<br></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Oct 15, 2014 at 11:02 AM, Dorian Hoxha <span dir="ltr"><<a href="mailto:dorian.hoxha@gmail.com" target="_blank">dorian.hoxha@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">We probably did.<br></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">2014-10-15 10:54 GMT+02:00 Winfried Tilanus <span dir="ltr"><<a href="mailto:winfried@tilanus.com" target="_blank">winfried@tilanus.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 10/14/2014 09:42 PM, Geert Stappers wrote:<br>
<br>
Hoi,<br>
<br>
> def proefje():<br>
> x=0<br>
> while x<5:<br>
> print x<br>
> x=x+1<br>
><br>
> while 1:<br>
> a=raw_input("nog eens?j/n")<br>
> if a=="j":<br>
> proefje()<br>
> else:<br>
> break<br>
<br>
Ik vraag me wel af of we nu niet iemands huiswerk hebben zitten maken... ;-)<br>
<br>
groet,<br>
<br>
Winfried<br>
_______________________________________________<br>
Python-nl mailing list<br>
<a href="mailto:Python-nl@python.org" target="_blank">Python-nl@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/python-nl" target="_blank">https://mail.python.org/mailman/listinfo/python-nl</a><br>
</blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
Python-nl mailing list<br>
<a href="mailto:Python-nl@python.org" target="_blank">Python-nl@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/python-nl" target="_blank">https://mail.python.org/mailman/listinfo/python-nl</a><br>
<br></blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
Python-nl mailing list<br>
<a href="mailto:Python-nl@python.org" target="_blank">Python-nl@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/python-nl" target="_blank">https://mail.python.org/mailman/listinfo/python-nl</a><br>
<br></blockquote></div></div></div><br></div>
<br>_______________________________________________<br>
Python-nl mailing list<br>
<a href="mailto:Python-nl@python.org">Python-nl@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/python-nl" target="_blank">https://mail.python.org/mailman/listinfo/python-nl</a><br>
<br></blockquote></div><br></div>