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

__________ means to move from one region to another. When animals regularly move as a group from one region to another and back, it's a ______________.
Concorde could travel 1 mile every 3 seconds.How many miles per hour (mph) is that?
How many seconds in 2.6 days
A person sees a ball and kicks it, in part because of actions of the nervous system. Using the parts of the nervous system listed bellow, describe the path of n
deer : woods : : monkey :
expand and simplify this can you help  (2x²−3x+4) ( x²+5x−7)
What does ¿Cuál es la fecha de mañana? mean and how would you reply?
The volume of a cylinder with height to radius ratio of 4:1 is 108 pie centimeters cubed. Find the radius and height of the cylinder.
food couldn't reach the stomach without the esophagus and the what
A man exchanged a dollar bill for change and received 7 coins, none of which were half dollars. How many of these coins were dimes?