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

7n-4=31 So what does n represent?
Please help! Eric has $4,610 in a savings account that earns 4% interest, compounded annually. To the nearest cent, how much will he have in 2 years? Use the fo
cos 60° = 1/2 and sin 60º SQT 3/2 True or false
In what direction is the line containing the points (1,7) and (10, 15) going? A. Up and to the right B. Down and to the right C. Horizontal D. Vertical
During what epoch did India collide with Asia? When did Antartica drift over the South Pole? Estimate the date in millions of years ( Ma ).​
Which Graph represents the unction f(x)= -8/5x+8 with its intercepts?
What caused the Great Recession?
heeeeeeeeeeeelllllllllllllpppppppp
It is known that a particular project can be completed by nine employees working eight hours a day for twenty five days. To speed completion of the project in a
two consecutive integers have a sum of 51 . find the integers