Simple Math, however displaying it in python has become tricky for me.
User inputs how much 'chocolate' they want.
Then they want to know how much (in grams) chocolate is needed to make the bar.
Assume 1 bar = 10 grams.
Answer comes back:
Total amount of grams needed is 1111111111
I got 10 1's rather than 1 x 10.
x=input('Enter quantity of chocolate')
choc_qty=int(x)
weight=(x)*(10)
print(total amount of grams needed is',weight)
'Total amount of grams needed is 1111111111'