Basics Of Module | Development | Online Course With Appy Pie Academy

# Basics of module

##### Lesson Details:
June 29, 2020

I: Introduction

Introduction to the topic, what is programming language? basic concepts, why you should learn it.

II: Body

Basics of Python programming for beginners

The basics are the same for all programming languages.

variable -variable name(identifier) could be any alphanumeric symbol or underscore _ or \$ or # or @ or % or & or * or / or + or - etc...

-variable name(identifier) could be any alphanumeric symbol or underscore _ or \$ or # or @ or % or & or * or / or + or - etc... data type - integer, float, string, boolean, list, tuple, dictionary, etc...

- integer, float, string, boolean, list, tuple, dictionary, etc... constants - integees are called constants eg: 1 , 2 , 50 , 101 , 456789 , 1234567890 , 3.141592653589793 etc..

- integees are called constants eg: , , , , , , etc.. statements - statements are the instructions in python. each statement ends with a semicolon which is used to end the statement. if one line is too long then use backslash to continue the next line. if the statement has multiple lines then use braces {} to group them.

if i = 1 : print ( "Hello World" ) else : print ( "Goodbye World" )

operators - operators are used to perform some operations on variables. operators can be put on separate lines as shown below: x = x + 1 y = y - 9 z = z * 4 / y

- operators are used to perform some operations on variables. operators can be put on separate lines as shown below: expressions - expressions are composed of variables and operators. they evaluate to a value. the following are some examples of expressions: x + y x - y x * y x / y print ( "Hello World" ) a + b a - b 3 * b a / b a