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

The sarbanes-oxley act created the _____ to protect the interests of investors and further the public interest in the preparation of fair and informative financ
Why did coal never form in Australia? A. Australia has always been too hot for coal to form. B. Australia had too much vegetation for coal to form. C.
Please help! I will mark brainliest!
What type of appeal is being used in the third paragraph
How many trophic levels are there typically in a community
Complete the square to determine the maximum or minimum value of the function defined by the expression. x2 + 8x + 6 A) minimum value at 8 B) maximum value at
Solve the following system
You are designing a pendulum clock to have a period of 1.0 s. The acceleration of gravity is 9.81 m/s2 . How long should the pendulum be? Answer in units of m.
asap here quick fast​
which ones are right to this question?