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
1
Answer:
C candyCost = float(input("How much is the candy?"))
I hope it's help you
Answered by
0
Answer:
i really dunno
Explanation:
Similar questions