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

What is (2/3) to the 4th power?
During a magazine review, you scan magazine images and articles to..
During a magazine review, you scan magazine images and articles to..
how how many 25s are in 300
the speed at which at a certain computer can access the internet is 2 megabytes per second how fast is this in megabytes per hour
Theo bought these items shoes that cost $19.99 socks that cost $ 4.19, a shirt that costs $ 8.50 and pants that cost $27.75. how can he estimate the total cost
What is 11/9 reduced to a mixed number?? i cant figure this out
how to solve 3/4 = 8/x-1
Alejandra has five hair ribbons measuring 8,13,11,9, and 13 inches long what is the median length of the ribbons
If one paper clip has the mass of 1 gram and 1,000 paper clip have a mass of 1 kilogram, how many kilogram are 8,000 paper clip