Ask your own question, for FREE!
History 13 Online
yy:

Which line of code will allow a decimal point to be stored in a variable? candyCost = int(input("How much is the candy?")) candyCost = input("How much is the candy?") candyCost = float(input("How much is the candy?")) candyCost = str(input("How much is the candy?"))

yy:

plz

yy:

help

Questionnare:

Wait real quick. I will try to put these into python.

yy:

ok

Questionnare:

C worked for me. Also, the code does make sense, so it is C.

yy:

ok ty

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!