1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
AVprozaik [17]
3 years ago
10

Which line of code will only allow a non-decimal point to be stored in a variable? candyCost = float(input("How much is the cand

y?")) candyCost = input("How much is the candy?") candyCost = int(input("How much is the candy?")) candyCost = str(input("How much is the candy?"))
Computers and Technology
2 answers:
Pavel [41]3 years ago
5 0

Answer:

what the first guy said give him brainly

Explanation:

ad-work [718]3 years ago
4 0

Answer:

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

Explanation:

candyCost = input("How much is the candy?") → By default, this how you get input and store the value. And it is stored as a string

candyCost = str(input("How much is the candy?")) → This also gives you a string to store

candyCost = float(input("How much is the candy?")) → This gives you a float number, decimal number, to store

candyCost = int(input("How much is the candy?")) → This gives you an integer number, a non-decimal

You might be interested in
after turning the volume all the way up on the speakers, you still cannot hear any sound. which of the following should be your
brilliants [131]
No options shown, but typically the next step is checking the connection to see if its plugged in.

Always use the 7 layers of the OSI model to solve technology problems, starting at Hardware and ending at the Applications level.

6 0
4 years ago
how can you turn on a light switch and it not work, without turning off the power to the whole house?
vitfil [10]

Answer:

Go to the beaker box and turn off the power to that one room. Duh

Explanation:

6 0
3 years ago
A batholith is an example of a(n) _____ igneous rock (one of the two main igneous rock groups).
Naily [24]
A batholith is an intrusive igneous rock.
3 0
4 years ago
Read 2 more answers
A kettle is boiled and the
Lynna [10]

Answer:

A 64°C

Explanation:

5 0
3 years ago
Steve is creating a document with proper nouns, which Word continues to identify as being misspelled.
mash [69]

Answer:

it's D. B and C are correct.

Explanation:

The options are:

A. Skip the Spell Checker.

B. Right-click the noun and choose to Ignore All.

C. Right-click and Add to the dictionary.

D. B and C are correct.

You can either right-click the noun and choose to Ignore all. or you can Right-click and add to the dictionary. And this is because you are correct this time, as a proper noun can have misspelled type of spelling. And this is because it is some other language word, and that's why.

6 0
4 years ago
Read 2 more answers
Other questions:
  • Which method is the best way to keep from running late on the day of a test
    10·1 answer
  • What are the most significant differences among structured, object-oriented, and agile methods? what do have in common?
    10·2 answers
  • Why do hard drives tend to slow down over time?
    11·2 answers
  • Using examples, evaluate the open source model of software development. In your discussion highlight some of its advantages and
    12·1 answer
  • Jason has decided to use his name on all the images to protect them from misuse. He has also decided to use the logo of his comp
    15·2 answers
  • Q.drtrdyudoijoemrkdf
    6·2 answers
  • What feature do you need on a computer if you want to take it on vacation to another continent?A. Dual-voltage selector switch B
    10·1 answer
  • On tool hackers use to get sensitive information from victims is/are:
    15·2 answers
  • Computing devices translate digital to analog information in order to process the information
    12·1 answer
  • Purchase computing resources as an outsourced service from suppliers who own and maintain all the necessary equipment and softwa
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!