Thank you guys! I solved my problem by importing numpy! Thanks again!