Jump to content

how to multiplication two vareibles numbers


amir232

Recommended Posts

import math
import random
 
print("picle price is changing every day")
piclePrice = random.randint(3,9)
picleamount = input("Enter picle amounth:")
 
print(' price: '+piclePrice)
 
results = (picleamount*piclePrice)
print(results)
#once i put amount i get the price
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...