# Start writing code here...
salute = "Hello World! and Hello students!"
print(salute)
Hello World! and Hello students!
# WORLD 1
# python 3.9
import numpy as np #library
import pandas as pd #library
list_x = [1, 3, 5, 7, 9]
avg = sum(list_x)/5
print("average: ",avg)
avg_numpy = np.mean(list_x)
print("avg_numpy: ", avg_numpy)
average: 5.0
avg_numpy: 5.0
# WORLD 2
# python 2.7
import numpy as np #library
import pandas as pd #library
list_x = [1, 3, 5, 7, 9]
avg = sum(list_x)/5
print("average: ",avg)
avg_numpy = np.mean(list_x)
print("avg_numpy: ", avg_numpy)
average: 5.0
avg_numpy: 5.0