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

What is (x-4)(2x-3)=0?
In the diagram, figure RQTS is the image of figure DEFC after a rigid motion. Name the image of CD A. TQ B. ST C.RS D. QR
What is 1/2x1/2x5/26
In a survey, 60% of those questioned chose winter as their favorite season. If 48 people chose winter, then how many people were surveyed?
Where is the DNA for an organism found
how old would bejemin franklin be now
This story is told by the main character. The reader can’t see anything beyond what the narrator sees and knows which type of point of which type of point of vi
For the following sentences, add periods, commas, question marks, or exclamation points as needed. Some sentences need more than one punctuation mark added to b
What is 1,098,119 rounded to the nearest ten
Choose the best answer to the following question using either y or en. Tu veux voire de limonade ?