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

write 25 ) 10^6 in standard form
In general, how did islam spread in southeast asia?
Imagine a mass hanging from a spring that behaves ideally. Which factor will not affect the period of this mass-spring system? varying the displacement of the m
What are two reasons that cells divide rather than continue to grow indefinitely?
The victory of the forces of the british east india company over the french gave them directcontrol of
every 5 years in march the population of a certain town is recorded in 1995 the town had a population of 4,500 people. from 1995-2000 the population increased b
Why does the headless horseman carry his head under his arm geometry worksheet?
The fact that us citizens elect representatives to make laws and implement public policies on their behalf is evidence that the united states government is what
If your expression contains square roots, during which step of pemdas do you solve them?
Write a paragraph about your business, how you plan to compete with the other local frozen-yogurt shop, and why your action plan will work