On Jun 4, 2014, at 09:14, Marc Stevens wrote:

> Maar die werken met heel complex met classes en def . Dat is me nog te 
> ingewikkeld.

Dan is het misschien beter om eerst wat python tutorials door te werken om 
erachter te komen wat classes en functies zijn. Want die worden in bijna alle 
niet-triviale python programma's gebruikt. Zonder functies zou een programma al 
snel een onoverzichtelijk zootje worden.

En moeilijk is het niet ;-)


    def groet(naam):
        print "Hallo", naam
        print "Hoe gaat 't ermee?"

    groet("Jan")
    groet("Marie")
    groet(42)

Groets,

-- 
A: Because it fouls the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

_______________________________________________
Python-nl mailing list
Python-nl@python.org
https://mail.python.org/mailman/listinfo/python-nl

Antwoord per e-mail aan