Addition of two Numbers
# addition of two numbers
import numpy as np
a=2
b=3
c=2+3
add=np.sum(c)
print(add)
Ans : 5
Addition of Multiple Numbers
# addition of numbers mulptiple
import numpy as np
import matplotlib.pyplot as plt
a=2
b=3
c=4
d=5
e=6
add=a+b+c+d+e
print(add)
Ans: 20
Addition of Two Texts
#addition of two texts
import numpy as np
a='India'
b=' is developing'
c=a+b
print(c)
Ans: 'India is Developing'
No comments:
Post a Comment