Class001_ Introduction to Python
Class001_ Introduction to Python
Module Basic
Resources Teacher:
1. Laptop along with audio and video
exchange
2. Notebook and Pen(To note any
development from session)
Student Resources
1. Laptop along with audio and video
exchange
2. Notebook and Pen(To keep note of
important parts in the session)
Duration 50 Mins
Knowledge Last time I took you to this website to code in Teacher Activity 1
Transfer : python. This is an Online IDE for coding. :Repl.it platform
Open repl.it
Download and IDE stands for Integrated Development window and
Installation Environment. explain its
It’s simply a platform on which you can write structure.
codes and run them to get output.
Today we will:
1. Download Python.
2. Install Python on your computer.
3. Test Python with a simple program.
Student Activity Open IDLE and try all the three escape Guide the student
characters we just learnt. to do the same.
Help with
keyboard controls
if needed.
Great!
For division too, we use a different symbol than Help the student
what we generally use. locate forward
We use a forward slash, can you find it? slash on their
keyboard.
Ok did you notice that you divide two integers
but got a decimal number as output. Make them do
simple division
Decimal numbers are called floating points in like 10/2,
programming languages. (numbers which
are exactly
divisible)
So to get integer output, we use double After explaining
forward slash, this is called floor division. The about //, ask them
result is rounded off. to try more
numbers.
Great, let's save our progress using File-> Save. Also mention the
shortcut CTRL+S
Quiz Can you answer some questions about what If the student is
we learned today?? not able to
answer, prompt
Resources: