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

Sally's mass on Earth is 50 kg. What is her weight on Earth?
Which of the following does not add CO2 to the atmosphere? A. Cooking with gas B. Planting trees C. Burning wood D. Riding in a bus
a savings account earns 8% interest each year, compounded quarterly (4 times a year). If a person invests $100 and makes no further deposits or withdrawals, wha
Pls help it is due in a few minutes also if it is correct I'll make brainliest!!!​
If y varies inversely as x, and y = 11 when x = 3, find y when x = 9.
Mrs. Burns want to buy a luxury handbag. The cost of the handbag is $1,700. If the total, including tax, is $1,867.45 then what is the percent of sales tax? ANS
What structure is responsible for the suction created by the starfish's tube feet?
Can someone plss answer this it's Spanish Plssssssss someone helllp
How is energy cycled through a cell?
Why is the earth spinning but we cannot feel it or get dizzy