print('Hello world!')
print("hello taiwan acer")
class mobile:
def __init__(self,name,color,price):
self.name = name
self.color = color
self.price = price
m1 = mobile("lava","grey",42000)
print(m1.name)
print(m1.color)
print(m1.price)
class person:
def __init__(self,name,age):
self.name = name
self.age = age
def myfunc(self):
print("hello my name is"+ self.name)
p1= person("jhon",36)
p1.myfunc()
import matplotlib.pyplot as plt
import numpy as np
x = ["dec","jan","feb"]
y = [47000,49000,53000]
plt.xlabel("months")
plt.ylabel("sales")
plt.plot(x,y)
plt.show()
i= 1
while i<4:
i+=1
print("Anup Tirkey is a Mechanical Engineer,NIT.")
To embed this project on your website, copy the following code and paste it into your website's HTML: