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

Which of the following was not an Eastern European nation under Communist control? A. Poland B. East Germany C. Romania D. Spain
how can air pollutants get into your blood
If a store uses a selling price-based markup of 40% and an item costs the store $300, what selling price would the store set for the item?
what is the ratio in simplest form 13:39
write the number 392 as hu ndred. tens and ones
Criticisms of conformity and materialism in American society in the 1950s resulted in which of these? the rise of the Black Panther Party anti-war and women's r
Draw a 3 by 7 square. Find its area , show your reasoning
The three main ideas behind capitalism as defined by Adam Smith are free markets, laissez-faire, and fair taxes. competition, self interest, and laissez-faire.
Gretchen is using an overhead projector to enlarge a drawing so she can make a poster. The original drawing measures 60 mm wide by 80 mm high. She moves the pro
How can estimating quotients help you to place the decimal correctly