• Home
  • Blog
  • Md.1 SLP Introduction to Python Programming

Md.1 SLP Introduction to Python Programming

0 comments

You are now ready to begin your adventure into the world of Python programming. The first step is to install Python on your computer. Please follow the steps in the first few paragraphs in the background information to accomplish this installation.

Python is a language which can be run as an interpreted language, as a script language or as a compiled language. At Google, python is one of the 3 “official languages” alongside with C and Java. Official here means that Googlers are allowed to deploy these languages to production services.

In this module you will work with the Python Interpreter and Python Scripts. You should create your Python program by opening Python IDLE Editor, choose File –> New Window. Then you can write your own code or cut/paste existing codes from other sources (like tutorials). Make sure to save the code as .py file. If there exists .py file, then simply File –> open. Run the program by clicking on the menu Run –> Run Module F5.

SLP assignment:

Your first programming assignment is the following:

  • Read chapter 4 (Variables, Expressions and Statements) and 6 (Keyboard Input) in the online book of Python 2: For Beginners Only” and run all the examples and exercises.  (a common mistake that occurs is that when you cut/paste the code directly from the tutorial, there will be extra empty spaces before certain lines, then you will encounter a syntax error message “unexpected indent” when you run the program. Fix the problem by deleting the extra indent.)

When you’ve done, insert all of the various program files into a single zip file and upload them. Include a one page brief summary document in Microsoft Word which explains what you have accomplished.

SLP assignment expectations:

  • Provide all the required program files.
  • Provide a brief summary document discussing what you have accomplished.

About the Author

Follow me


{"email":"Email address invalid","url":"Website address invalid","required":"Required field missing"}