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 many midgets can sit in a clown car if the car can hold 4 clowns from door to door and 3 people from front seat to back seat. Two midgets fit across 1 clow
how do u divide 16 by 3/5
What is the product of (x+1) and (2x^2+3x-1)?
Help??? What is 3x+5x=67y?
which inequality is equivalent to 7x-2y> 8. A) y> 7/2x+8 b) y>-2/7x+8/7 c) y <7/2x-4 d) y <-2/7x-4/7 (whats a Inequality? )
What challenges did the californios face?
What do Frederick Douglass' words "America reigns without a rival" mean?
Many colonial people volunteered to fight for the Allied forces because they hoped their service would win their colony's ____
I need a Amazon tribe name please! Need for Monday
What organs work with skin?