print('Hello world!')
print("hello Taiwan acer")
i = 1
while i<5:
i+=1
print("Anup Tirkey is a Mechanical Engineer, NIT.")
import matplotlib.pyplot as plt
import numpy as np
x= ["oct","nov","dec"]
y = [55000,67000,72000]
plt.xlabel("months")
plt.ylabel("sales")
plt.plot(x,y)
plt.show()
import matplotlib.pyplot as plt
import numpy as np
x = ["april","may","june"]
y = [550,770,870]
plt.xlabel("months")
plt.ylabel("rains")
plt.plot(x,y)
plt.show()
class car:
def __init__(self,name,age):
self.name = name
self.age = age
c1 = car("hyundai",15)
print(c1.name)
print(c1.age)
class Plane:
def __init__(self,name,year):
self.name = name
self.year = year
p1= Plane("sukhoi mk30",2019)
print(p1.name)
print(p1.year)
To embed this project on your website, copy the following code and paste it into your website's HTML: