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

Find an equivalent ratio for 22/55 then write the proportion ?
Find an equivalent ratio for 22/55 and then write the proportion
What is the lateral area of the rectangular prism with a base length of 17 m, a base width of 7 m, and a height of 5 m?
Two 1 litre jugs are each filled with a mixture of olive oil and vinegar. The first jug has 3 times as much as oil as vinegar and the second jug has 4 times as
Which of the following rivers is the world's busiest waterway ?
Al washed a car in 6 minutes. Fred washes the same car in 8 min. How long dies it take Al and Fred to wash the car together?
what time is 9 hours and 30 minutes before. 4:25
Al washed a car in 6 minutes. Fred washes the same car in 8 min. How long dies it take Al and Fred to wash the car together?
16 increased by twice a number is -24. Find the solution??
Buck drove 220 miles in 5 hours. What was his average rate of speed?