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

Liquid water heats up and cools down quickly what causes this property
Examples of foods with empty calories include: a. Broccoli b. Sweetened applesauce c. Lima beans d. Watermelon
Different budgeting periods and explain each one
(14 + 13) + 2 = 29 Choose an equivalent addition sentence that shows the associative property of addition. 29 = (14 + 13) + 2 (14 + 13) + 2 = 29 14 + (13 + 2)
Fifty percent of homicide victims have _____. a. parents in jail b. alcohol in their bloodstreams c. family in show business d. cousins in law school
A ball thrown with 50N of force accelerates at 25 m/s2.  What is the mass of the ball?
Mice eat corn. Hawks eat mice. Which term describes hawks in this food chain?
6 +(-9) how do u solve this
I'm in desperate need of help please !!
which of the following was a robert la follette reform that changed the way candidates were chosen in an election