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

Solve for x/4-x+2/6=x/3
what is an undefined nuclear region containing only nucleic acid
Solve by elimination:4x+7y =8-8x -14y= 5
how many variables should you have in a control experiment?
solve for y.try factoring first,if factoring is not possible or difficult use quadratic formula,(y2  2isabovey -10y+23=0)
Which is a solution to the equation y=5x-6
how do I divide a fraction to a decimal
What is the given equation in logarithmic form of 7^4=2,401?
Is Obesity Really a Big Problem in America? Please help me :)
Rheumatic fever is a bacterial disease that can result in degeneration of heart valves that would cause?