10/20/23, 10:56 AM First Demo.
ipynb - Colaboratory
#Addition of two integer numbers
2+3
#Addition of two float numbers
6.8+4.3
11.1
Double-click (or enter) to edit
#Addition of two char
'a'+'x'
'ax'
#Addition of two strings
'Hello'+' '+'I'+' '+'am'+' '+'Pooja'
output 'Hello I am Pooja'
#Subtraction of two float number
45.63-56.21
-10.579999999999998
#Multiplication of two integers
23*6
138
#Multiplication of two float numbers
23.1*2.9870129
68.99999799
#Division of two integers
138/3
46.0
#Division of two float numbers
138.5/4
34.625
a=5
b=6
c=a+b
print("The final result=",c)
The final result= 11
Double-click (or enter) to edit
https://colab.research.google.com/drive/1YeLBLApXMYxztpwWEWkDnYs8PCUUpQOP#printMode=true 1/2
10/20/23, 10:56 AM First Demo.ipynb - Colaboratory
https://colab.research.google.com/drive/1YeLBLApXMYxztpwWEWkDnYs8PCUUpQOP#printMode=true 2/2