Posts

Showing posts from March, 2020

Python for kids: Tutorial 02

Image
Why do we use python? Python can be used for various types of software development - Websites creation - mathematical and logical calculations - machine learning - system scripting Writing Python is very similar to writing English and that makes python so popular. Python was created by Guido van Rossum, and release in 1991. Since then, there have been many advancements in python. Python3 is the latest version of python followed by python and python 2.x. Important Note:   -  Python runs on an interpreter system, meaning that code can be executed as soon as it is written and is done line by line. - Python majorly relies on indentation. So, while writing core from now on, please keep a note of the correct indentation while moving to a new line. Install Python you can install python on your laptop following the below steps: 1. Download python using the below link and shown in the snapshot. https://www.python.org/downloads/ ...

Python for kids: Tutorial 01

Image
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. Next