Question: Create the following small program. Use NumPy to generate a random integer between 0 and 1 0 , 0 0 0 , then from that

Create the following small program. Use NumPy to generate a random integer between 0 and
10,000, then from that subtract 2,500. Call that account balance. If that number is positive,
your
program should print "You're rich! You have $ account balance". If that number is exactly 0,
your program should print "You're broke! You literally have $ account balance in your account".
If that number is negative, your program should print "You have less than $0. You wish you
were
broke. You need $-account balance just to be broke." For this program, consider using either a
nested if-else statement or an elif statement
 Create the following small program. Use NumPy to generate a random

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!