On 18/07/13 23:39, Jim Mooney wrote:
Here is how every computer on earth works, even those using Java.
It's also how DNA works. I just saved you 200 grand in ruinous student
loans  ;')

Computer Science in six lines:

Read serial input device:
     Until:
         if serial input device says Stop, stop
         do something or go somewhere else on serial input, as instructed
         advance serial input one frame and read serial input device
     repeat:

The 'do something' part can involve complications.

Except not all input devices are serial and not all systems take input, some only generate output... But as a generalization its not bad :-)

--
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to