Introduction to Python
  • 1. Introduction
  • 2. Numbers in Python
  • 3. Text in Python
  • 4. Making Comparisons
  • 5. Making Choices
  • 6. Exercise: Paper, Scissors, Stone game
  • 7. Lists
  • 8. Loops
  • 9. Simple Web Crawler
Powered by GitBook
On this page

1. Introduction

Next2. Numbers in Python

Last updated 5 years ago

Was this helpful?

CtrlK

Was this helpful?

What is Coding?

Computer programming, also known as coding, is giving a set of instruction for a computer to perform some actions. For example, a computer does not know how to connect to the internet and download files on its own, and so we code (or program) a set of instructions for it to do that. The act of writing a set of computer instructions is called coding (or programming).

What do these instructions look like? You can imagine coding a simple computer toy-car; to move it from point A to point B, you need to give it instructions like:

  1. Turn right by 90 degrees

  2. Move forward by 15 centimeters

  3. Stop

  4. Turn left by 10 degrees

  5. Move forward by 20 centimeters

  6. Stop