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

Helppppppppppppppppppppp
Which of the following words correctly describe a triangle with two 45 angles? A. Equilateral B. Isosceles C. Scalene D.Obtuse E. Right F. Equiangular
The slope of the line below is -4 I NEED HELP!!
A car enters a horizontal, curved roadbed of radius 50 m. the coefficient of static friction between the tires and the roadbed is 0.20. what is the maximum spee
What technology would be best in diagnosing a broken bone?
Which pattern of inheritance results from individual organisms having many different genes working at the same time to control a single trait? A. Incom
A method whereby one can connect to a remote computer with a different operating system and transfer large files to his or her own microcomputer's hard disk ove
An explosion that destroys the outer portion of a star is known as a
How long does mail take from san francisco to denver?
I need an answer asap