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

Is the product of two perfect squares always a perfect square
The Lions won 35 out of 40 games. Write a decimal and a percent equivalent to the fraction of games the Lions won. Thanks for your help
what language do they speak in belgium
the biggest cause of foodborne illness is
what flavor is red velvet cake?
what are the key differences between total and annular eclipses
In which is the water most likely the coldest and saltiest? A. D B. C C. A D. B PLEASE HELP!! I NEED 3 QUESTIONS!!!!!!
what are the stations of the cross
which basketball player earned a doctorate in education
how do the properties of long-lived stars compare to those of short-lived stars?