Page 379 - Ai_417_V3.0_C9_Flipbook
P. 379
Selecting the Run Module option
The program will execute and the output will be shown in the Shell window.
Displaying the Result
Task #Experiential Learning
Colab—a free Jupyter notebook environment that runs entirely in the cloud allows you
to write and execute Python code. Type http://colab.research.google.com to create your
online Python notebooks which can be simultaneously edited by the members with whom
you have shared your code in Colab. This process is similar to the way you edit documents
in Google Docs, Google Sheets or Google Slides.
Python Character Set
A character set can be a set of valid characters. For example,
• Digits like 0, 1, 2, …. 9
• Letters in upper or lowercase like A to Z or a to z
• Special symbols like $, %, ^, &, *, (), @, !, etc.
• Whitespaces like spacebar, Tab key or Enter key
• ASCII or UNICODE characters like emoji symbols or other symbols with unique code.
Statements in Python
Instructions written in source code that are executed by a Python interpreter are called statements. There are
three types of statements in Python which are simple statements, multiline statements and multiple statements.
Let us learn about them in detail.
Simple Statements
By default, the end of a statement is done by pressing an Enter key. Each statement is written on a new line.
Introduction to Python 377

