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

How would I solve this problem 5 1/4 - 2 5/6
Maya works 16 hours per month at her part-time job earning $6.75 per hour. She earns some additional money house sitting for neighbors and friends. Maya charges
Photosynthesis is a process in which _______ energy is converted to _______ energy.
The Lamborghini Diablo sports car can accelerate from 0.0 km/hr to 99.2 km/hr in 4.0 seconds. What is the acceleration of this car? Give your answer in units o
Cells that produce antibodies that help destroy the pathogens are called what
How did Ancient Rome conquer and rule so much territory for such a long time? What were the most important factors in the stability and longevity of Rome’s powe
How to Simplify 243^1.2
What is a suffix for the words toward the east in a quiet way
Which type of memory is more likely to be forgotten?A. ImplicitB. ProceduralC. ExplicitD. Sourse
In "The Mark of the Beast," how does the narrator feel about Eastern Gods at the end of the story?