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

PLEASE HELP! DUE TODAY! TY! In the figure, line segment AB is tangent to the circle at point A. Find the length of line segment AB. Work: AB =
I Don’t get this, someone help!!
I NEED ANSWERS!! triangles ABC and AXY that share vertex A where point X is between points A and B and point Y is between points A and C Which of the following
How many people have taken the johnson and johnson vaccine
Solve for x in the diagram below
what is the effect on the graph of y=-2x+7 if the slope changes to 2
Which line from the poem support the inference that the carving may be old and timeworn in the poem a Japanese wood carving?
my father was in such a bad mood that i was waking on eggshells around the house is this sentence literal or figurative language
Evaluate the function when x= -3, 0, and 1. f(x) = 5 + 5x - 7
Who could become scribes in ancient Mesopotamia? A) girls only B) boys and girls C) women and men D) boys only