Python Day 2
Python Day 2
– Blocks of code
else: else:
print A s er print A s er
print "False" print "False"
Output: Output:
6 21
Single = ord
Double = Se te e
Triple = Paragraph
• var_name = input()
Returns value as same data type.
• var_name = raw_input()
Returns value as string.
Output:
Enter the a value: 10
Enter the b value: 20
The sum is: 30