Page 131 - Plus V4 with Adobe class 6
P. 131
==, !=, >, <, >=, <= Comparison
=, +=, -=, *=, /=, %=, **=, //= Assignment
and, or, not Logical
SOME MORE PROGRAMS
Program 5: To subtract two numbers entered by the user
Program 6: To calculate the average marks of three subjects
Program 7: To calculate the volume and surface area of cylinder
Timeline
Python is a popular high-level programming language.
Interactive Mode is a command line shell which gives immediate result for each command.
The input() function takes the user’s input while a program executes.
The print() function prints or sends the output to the standard output device, which is usually a monitor.
Variables are memory reference points where we store values which can be accessed or changed later.
A data type specifies the type of value a variable can contains.
Comments enable us to understand the way a program works.
Operators can be defined as special symbols which perform arithmetic and logical computation.
Precedence of operators determines the order in which the operators are executed.
#Python 129

