Ask your own question, for FREE!
History 11 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!
Latest Questions
Arriyanalol: i need help
2 days ago 7 Replies 1 Medal
Arriyanalol: CONGRATS to me
2 days ago 8 Replies 2 Medals
Legomaster346: What colleges are good that are near Arab Alabama?
1 week ago 5 Replies 0 Medals
Arriyanalol: i need help
1 week ago 6 Replies 2 Medals
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!