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

solve for yX = 3yPlease answer
Henry Ford would have been most interested to bring which modern innovation to his automotive factories? time-study analysis computer-controlled robotic
bill clinton became the second president in us history to be...?
the bill from your plumber was $134. the cost for labor was $32 per hour. the cost for materials was $46. how many hours did the plumber work?
between which two atoms of water are hydrogen bonds are formed?
what is the value of p in the equation 4p 3(p 4) = 12p 12? 12 1 0 −1
Nerves branch in intervals from which of the following structures in a chordate embryo? (1 point) tail pharyngeal pouches notochord hollow nerve cord
a(n) personification allusion conceit is a figure of speech which compares two dissimilar things.
identify the coefficient of the term -2mnp
rafael earned a salary of 34,944 last year. How much did he earn a month