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

The number of job applications submitted before landing an interview are normally distributed with a population standard deviation of 4 applications and an unkn
aye yo help a homie out
Tengo un problema con steam y es que sale como que no he comprado un juego pero en realidad si lo he comprado pero por una pagina alterna pero no me lo detecta
Once Jeremy is on the fire escape he runs 2 feet to the staircase. He then runs across the width of the building. Which of the following equations will allow yo
What numeral is in the 100th decimal place in the decimal representation of $\frac{6}{7}$?
When two atoms combine by transferring electrons, it is a(n) _____ bond. ionic covalen
Plzzz hurrry Point Z is the incenter of triangle RST.
what should I do because i have a lot of assignments and quizzes to do ?and I don't know how to do them and I waste my time I have more than 27 assignment and
Help ima mark BRAINLIST
why does bromine not react with sulphur?​