### Tell us what’s happening:
Hi, I need help with my code. I keep getting a ValueError, and I am not sure why. It says: 'The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
### Your code so far
here is a link to my code: Sign Up - Replit
### Your browser information:
User Agent is:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/184.108.40.206 Safari/537.36
### Challenge Information:
Data Analysis with Python Projects - Mean-Variance-Standard Deviation Calculator
Use run command sh: 1: Use: not found exit status 127
You need to configure the run button.
go to replite file and in the run=“” type python3 main.py
link to your replite
The code itself looks good, I’m not able to replicate this error.
You have a few different versions of this on replit though, I was looking at #3 linked by @zaklina
Yes, I reconfigured the replit file and it ran on the console but I still have those 2 errors.
Yes its the 3rd one, I think I deleted the others now.
array = np.array([list])
you should directly convert the input list to a NumPy array without wrapping it in an additional list.
array = np.array(list)
Thank you for the help, it works now