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

What would cause the equilibrium to shift left in this reaction? CO + 3H2 ? CH4 + H2O A. Adding heat to the product mixture B. A faster rate of forward reaction
What determines the structure and function of a proteins?
Help Me please. Theme and Character Test Constructed Response Directions: Read the prompt below. Then construct a well-developed 2-paragraph response based on
Please check my answers
Which of the quadratics has a graph with x-intercepts of 5 and -1?
it took you 6.5 h to drive 550 km. what was your average speed?
I need help with all operations with integers
You have 15 pennies in your pocket. Of those pennies 2 are Canadian. Suppose you pick a penny at random. Find p(not Canadian)
How many centimeters are in 13 meters
Which of the following describes characteristics? The author suggests information about a character through - the characters words and actions -other character