Question: I'm having trouble coding this into BASH plz help import random Base_Price =100 Sum_Price =0 var = random. randint (3,3)5 Total_Price = Base_price + var
I'm having trouble coding this into BASH plz help


import random Base_Price =100 Sum_Price =0 var = random. randint (3,3)5 Total_Price = Base_price + var print('Welcome to the soda machine. You can enter values of 5, 10 or 25 in payment ) Soda_Type = input ( What type of soda would you like? ') print ("InThe current price of" +Soda_Type+ "is" +str(total_price)+ 'cents') while(True): priceInput = input ('Insert a coin: ') Sum_Price = Sum_Price + priceInput balance = Total_Price Sum_Price if balance >0 : strBalance =str (balance) print( "You still owe "+strBalancet" cents') elif balance
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
