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

which of the following statements about rest and physical is not true
7 divided by blank equals 56
how does the engraving tell a different story from the above description of the boston massacre
For how many things can use the same resource at one time
WHAT is the unit rate for 115 miles in 2 hours
y - 5 = -2x - 4Write in simpilest form.
On the periodic table, each element has a unique name and formula? True or false?
what is 248 rounded to the nearest ten
Music has sometimes been referred to as a “universal language.” Why has this description been applied to music? Do you agree or disagree with this assessment? W
You get a paycheck every 2 weeks your annual salary is $39,000. Can you get the same amount for each paycheck?explain why or why not