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

When does Macbeth's ultimate fall occur in act 4?
The television cost $289.90. The sales-tax rate was 8%. How much was the sales tax on television.
Help please I don't understand!!! 2. For the system below: a. Solve the system by the linear combination method. Show all work carefully. b. Check your answer.
How does estimation help you place the decimal point when multiplying
this number is equivalent to seventeen and fifty thousandths
How did the black death contribute to the decline of the manor system?
Which of the following qualities are NOT associated with mineral luster? A. dull B. rough surface C. metallic D. opaque
-6x+y=39 how do i make this an ordered pair and 0 substitutes x and y
What is the practice of growing & breeding plants and animals for human use ?
Someone help please ASAP. In∆ABC, m a) How are the measures of m b) Solve for x: