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

I need help quick please
Early antislavery societies generally believed slavery had to be ended gradually. Why do you think this is?
how can spillovers, or externalities, be both good and bad?
Ethan ran 11 miles in 2 hours What is the constent of proporttional of miles to a hour
On Saturday, the temperature was 75.5°F. The temperature rose by 6°F on Sunday, then dropped by 3.5°F on Monday. Write an expression to represent how the temper
Fill the gaps with the correct preposition
What are the seasonal changes in the weasel in florida and the weasel in wyoming
Jacob had a cube. When Jacob made a cross section parallel to the base, what shape did the cross section form? trapezoid square parallel triangle
Write the expanded form of the expression (using distributive property). -4(5x + 6)
An archer releases an arrow with an initial velocity of 20 feet per second at a height of 12 feet. The path the arrow takes can be modeled using the function f(