Computer Science, asked by stoadvine13, 7 months ago

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

Answers

Answered by naveenjoshi01974
1

Answer:

C candyCost = float(input("How much is the candy?"))

I hope it's help you

Answered by 5927003820
0

Answer:

i really dunno

Explanation:

Similar questions