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

The corpus callosum is the outermost layer of the cerebrum. t or f
What does Zimbardo's prison experiment demonstrate? It's possible for people to act horribly in evil situations. Most people have cruel intentions toward other
Thirty divided by three times a number decreased by four. Write an expression with a variable.
Plz help need badly What is the value of this expression? (3/7)^0 A) 0 B) 3/7 C) 1 D) 30/7
To place the caption at the top of the image, you will need to change the _______ in the drop-down menu. A. Options B. Label C. Position D. Numbering
The restaurant bill is 17.34. Whats your change if you pay with a $20?
Without graphing is each system independent dependent or inconsistent
Plzzzz I NEED help with 9 and 10 plzzzzz
Columbus has long been honored as having
Population density is the number of people per unit of area. The population density of a certain region is 60 people per square kilometer. If the region covers