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 BEST ANSWER GETS BRANLIEST
Explain the role of the hepatic portal system and lymphatic system within the circulatory system
If your gas pedal jams, tap it with your foot until it comes loose.
a brick has a length of 2 2/5 cm, a width of 4/5 cm, and a height of 1 cm. How many 1/5 cm cubes can fit along the length of the brick?
Solve: X+14.91=59.67
__?__Findings will be published next month. *It's *It Is *Its *Its'
Given that x is an integer such that [tex]\x\sqrt{x}-5x-9\sqrt{x}=35[[/tex], find x.
How did americans see labor unions after the haymarket incident?
Ashton designs movie sets. For one scene, he has to hang a banner across an archway that takes the shape of a parabola modeled by the quadratic equation y = −x2
A group of people organized with a governmental agenda in mind.