Introduction to Python Programming using 

Google Colab

Objective : What I want you to learn?

Rationale : Why this is useful to you?

Learning Outcomes : What I want you to do after completing this topic?

Contents

Introduction to Python Programming Language

Python is a general-purpose high-level, remarkably powerful dynamic programming language that is used in a wide variety of application domains. Python supports multiple programming paradigms, including object-oriented, imperative and functional programming styles. It was created by Guido van Rossum during 1985- 1990. Python source code is available under the GNU General Public License (GPL). Its one of the most used programing language among the developers worldwide.

 

Python, as a programming language is easy and simple to learn. Python cuts development time in half with its simple to read syntax and easy compilation feature. Also, it has plenty of libraries that support data analysis, manipulation and visualization.

The popularity of Python programming is steadily rising and so are Python career opportunities

Introduction and Features of Google Colab

Google Colab, or Colaboratory, is a free Jupyter Notebook environment that runs in the cloud. Colab, or ‘Colaboratory’, allows you to write and execute Python in your browser, with

Features of Google Colab

Opening and Wroking with a Colab Notebook

print("Python Programming for Engineers")

Basic Python Syntax and Comments

Writing a Simple Python Code and Running

Basic Arithmetic Operation of Numbers

# Code for Arithemetic Operations of Numbers 

num1 = 20 

num2 = 5 


# Addition 

sum = num1 + num2 

print(sum


# Subtraction 

difference = num1 - num2 

print(difference)

 

# Multiplication 

product = num1 * num2 

print(product)

 

# Division 

quotient = num1 / num2 

print(quotient) 


# Exponentiation power = num1 ** num2 

print(power) 


# Modulos 

remainder = num1 % num2 

print(remainder) 

Comments in Python 

Some of keyboard shortcuts in Google Colab:

Documenting Python code using Markdown 

Summary and Practice Assignment 

Summary

Practice Assignment

Write a Python codes for