Python
Python
1)interger
2)float
3)string
4)complex
5)bool
operators in python
1)unary operators
2)binary operators
3)ternary operators
opnd1
op
opnd1
4 binary ops
'''
Input()
(n1) = float(input("Enter 1st number :"))
(n2) = float(input("Enter 2nd number :"))
'''
'''
'''
control structures
I)conditional
II)uncondition
1)iterative statement
1) Loops - For and while
2)selevtive statement
1)if condition
*if * if else * nested if * ladder if(elif)
2)match condition
if x>y :
print("Maximum of",x,"and",y,"is",x)
else :
print(f"Maximum of {x} and {y} is {y}")
additional ops,
chr(ascii value)=character
ord(character)=ascii value
bin(binary conversion)
Hex(hexadeciamal value)
escape sequence
\n
\t
\v
\r
\\
\'
\"