print('Hello world!')

a = 45
b = 33
if a>b:
    print(" a is greater than b")

c = 47
d = 47
if(c>d):
    print("c is greater than d")
elif c==d:
    print("c and d are equal")

a = 200
b = 30
if(b>a):
    print("b is greater than a")
elif a ==b:
    print("equal")
else:
    print("a is greater than b")


import numpy as np

x = np.array([1,2,3,4,5,6,9])
print(x)
print(x[2]+x[4])


y = np.array([1,2,3,4,5,6,7])

print(y[2:5])

import numpy as np

x = np.array([5,4,3,2,0,1])

print(np.sort(x))


import numpy as np

x = np.array(['bananana','apple','cherry'])

print(np.sort(x))

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: