COMP 110 Lecture Notes - Lecture 2: Stored-Program Computer
Document Summary
Computer readsinput a the upython rem thework is lost. Evaluate takes your inputand interprets it as pythoncode. Print whenentering an expression its evaluated valueprints automatically. Loop you can type in another command and processrepeats. Programming in a repl is wonderful for learningand tinkering. We will primarily bbstared programs savedinfiles text fileoflines of code. A stored program is like you"dwrite in a repl. The code in your stared program is notimmediately evaluated. Stared programs enable larger programs you can reuse and share.