True
True
False
False
3 types of input: command line, keyboard, file
True and False
False
not True
False
(True and False) or True
True
45 + 72
117
45/2
22.5
45//2
22
45%2
1
str(45)
'45'
"Raj"
'Raj'
"Raj" + "shekhar"
'Rajshekhar'
"Hello"[0]
'H'
"Hello"[0:2]
'He'
"Hello"[2:5]
'llo'
"Hello"[2:]
'llo'
len("Hello")
5
x = 25
print(x)
25
print(y)
50
y = 50
print(y)
50
z = x + y
print(z)
75
names = ["Raj","John","Jim"]
names[0:2]
['Raj', 'John']
names[0]
'Raj'
len(names)
3