🎧 New: AI-Generated Podcasts Turn your study notes into engaging audio conversations. Learn more

Lecture 3-Learning Programming with Python.pdf

Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...

Full Transcript

Lecture 3: Learning Programming with Python Prepared by: Shirley D. Moraga What is Python ? Guido van Rossum created the Python programming language in the late 1980s. Python strives to provide a simple but powerful syntax. Python is used for software development at companies and organizati...

Lecture 3: Learning Programming with Python Prepared by: Shirley D. Moraga What is Python ? Guido van Rossum created the Python programming language in the late 1980s. Python strives to provide a simple but powerful syntax. Python is used for software development at companies and organizations such as Google, Yahoo, Face- book, CERN, Industrial Light and Magic, and NASA. In late 2008, Python 3.0 was released. Commonly called Python 3, the current version of Python is incompatible with earlier versions of the language. Currently the Python world still is in transition between Python 2 and Python 3. Writing a Python Program The text that makes up a Python program has a particular structure. The syntax must be correct, or the interpreter will generate error messages and not execute the program. A program consists of one or more statements. A statement is an instruction that the interpreter executes. Ex. print("This is a simple Python program")

Use Quizgecko on...
Browser
Browser