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

450 is 75% of what number?
Simplify the radical expression by rationalizing the denominator. 4 divided by the square root of 21.
What might cause someone's mental map of a place to change
The price of a new computer is p dollars. The computer is on sale for 40% off. Which expression shows the savings that are being offered on the computer? p
Which of the following best defines genomics? A. The study of cellular protein structures B. The study of the genomes of organisms C. A mechanism used in DNA fi
Martin is making squares by arranging 26 sticks . How many squares can he make? Write and solve the number fact you used to find the answer.
find the inverse of the function f(x) =4x+6
5 ways you can tell a living thing from a nonliving thing
A significant area of disagreement among delegates at the Constitutional Convention was
what is 2.84 divided by 2