Jan-03-2018, 10:42 PM
I installed modul numpy and wrote this code:
Don't see how is this possible.
import numpy as np height = [ 1.73, 1.68, 1.71, 1.89, 1.79] weight = [ 65.4, 59.2, 63.6, 88.4, 68.7] np_height = np.array(height) np_weight = np.array(weight) result = np_weigh / np_height ** 2 print(result)I receive message "Attribute error: modul 'numpy' has no attribute 'array'
Don't see how is this possible.