Python for kids: Tutorial 01

let's begin learning python from scratch.

Tutorial 01:

You can begin with using online interpreters like https://repl.it/languages/python3

1. In this tutorial, we will begin by using the 'repl' online interpreter mentioned above. We will work on a tutorial for setting up python on your machine in a later tutorial.




2. let's begin coding, the simplest command to start with is print(). As the name suggests its print whatever command you give it. for eg,

print('Hello world')                  or                     print("Hello world")

Copy and paste the above commands in 'repl' window and click 'run'. You should see 'Hello World' printed on the black side of the window.

Note: Both commands use different inverted commas. In python, you can use any of the inverted commas for strings.



Comments

Popular posts from this blog

Python for kids: Tutorial 02