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

evaluate the limit of lim/n->infinity 6n^2+5/3n^2
The hopi language has verb tenses that differ from those of english. benjamin whorf's linguistic research among the hopi people suggested that this meant they h
I need help on this question
Charles is an engineer who is evaluating a prototype of an artificial heart. The prototype beats in a synchronized fashion, is hollow, and has tubes attached to
One pipe fills a storage pool in 20 hours. a second pipe fills the same pool in 15 hours. when a third pipe is added and all three are used to fill the pool, it
How did Mesopotamian geography affect the peoples view of the gods
What is the answer to this problem
What is slope and how is it determined from a graph?
given the figure below is a special type of trapezoid and WX II YZ, which angle pairs can be proven supplementary by the given information? select all that appl
8: find the greatest number if 5 digit which when divided by 25,30and 40 leaves a remainder of 20, 25 and 35 respectively.