print('Hello world!')
print("hello Taiwan acer")
i= 0
while i<3:
i+=1
print("Anup TIrkey is a SAI , Mechanical Engineer.")
class car:
def __init__(self,name,name1,name2):
self.name = name
self.name1 = name1
self.name2 = name2
c = car("bmw","mercedes","benz")
print(c.name)
print(c.name1)
print(c.name2)
class marry:
def __init__(self,name,name1,name2):
self.name = name
self.name1 = name1
self.name2 = name2
m = marry("anup Tirkey","shahsi Priyanka Tirkey","married")
print(m.name)
print(m.name1)
print(m.name2)
import matplotlib.pyplot as plt
import numpy as np
x = [44000,41000,39000]
y = ["nov","dec","jan"]
plt.plot(x,y)
plt.show()
import matplotlib.pyplot as plt
import numpy as np
x = [770,880,1100,1200]
y = ["nov","dec","jan","feb"]
plt.xlabel("rainfall")
plt.ylabel("months")
plt.plot(x,y)
plt.show()
import matplotlib.pyplot as plt
import numpy as np
x = np.array([30,40,50])
y = np.array(["nov","dec","jan"])
plt.plot(x,y)
plt.show()
To embed this project on your website, copy the following code and paste it into your website's HTML: