Python?? ?
Python?? ?
Need of variables.
To store the input given to user
To store result of operation
Rules
No space while giving name/special symbols
Shouldn’t start with a number
It shouldn’t have capital alphabet in the starting
Data types
Number (whole number only)
If fractions then it’s going to go a data “fetch”
String
Anything that you write single,double,triple quote get’s string
Boolean
It can be true or false
Eg:- 9>7 T
9>7 9>10
T F
Operations
Arithmetic equation: +,-,/,*
%- Modulus ( To get a reminder)
\\- True division (To get a quotient)
Exponent operators:
n**p
6**2