billywillr123 billywillr123
  • 02-04-2021
  • Mathematics
contestada

Write an example of a Counter Variable
in python code

Respuesta :

amandaleemendelson
amandaleemendelson amandaleemendelson
  • 02-04-2021

Answer:

printf(“%d”, i++);

Step-by-step explanation:

Answer Link
23abdour
23abdour 23abdour
  • 02-04-2021

Answer:

count += 1

OR

count = count + 1

Step-by-step explanation:

count = 0

numbers = int(input("Enter a number: "))

while number > 0:

    number = number // 10

    count +=1

print("Total number of digits", count)

Answer Link

Otras preguntas

Oxygen enters the ocean through mixing and photosynthesis. true or false?
0.001 in Standard form
How much would a 185 pound astronaut weigh on the moon
In what ways is Islam a way of life as well as a set of beliefs? (five sentences)
A Sports arena covers 710,430 square feet of ground. A newspaper reported that the arena covers about 700,000 square feet of ground. To what place value was t
Hair and nails are derived from cells of the A. skin. B. bone. C. blood. D. fat tissue.
Polymers are formed by joining several units called monomers.what does the term monomer refer to? the answers are a unit made up of several compounds a unit ma
report writing about garbage disposal
Which of these statements about Buddhism is true? A. Buddhists taught the virtues of the eightfold path. B. Gautama, founder of Buddhism, was a common fisherman
Which words are used as nouns in this sentence? Choose all answers that are correct. Lobsters can pinch the skin with their claws. a. pinch b. their c. skin d