I have written this piece of code where you can input the amount of chocolate needed in a recipe and it will return the amount in 5kg and 1kg pieces. What is wrong which this piece of code? I have got integers for the variables but it shows a syntax error!
kg = int(input("How much chocolate do you need?"))
fivekgs = kg // 5
onekgs = kg % 5
print ("You will need,"fivekgs" 5kg blocks and, "onekgs" 1kg blocks!")
Have i got the speech mark placements wrong or something?
Thanks.