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 cafeteria has 45 square  tables that can be pushed together to form one long table for the lacrosse team's banquet. Each square table can seat one person on
If 8 men can chop down 28 trees in one day, how many trees can 20 men chop down in one day?
which seismic wave moves through earth at the fastest speed?
The value square root of 53 of lies between which two consecutive integers?
If 8 men can chop down 28 trees in one day, how many trees can 20 men chop down in one day?
which factor made the most difference in how agriculture affected the economies of the colonies?
What is the mean of 87, 93, 86, 90, and 84?
What is biogeography and what does it provide?
By the mid-1700s, the largest city in the colonies was (A) New York (B) Boston (C) Philadelphia (D) Charleston (E) Wilmington, Delaware
“The genetic code is universal.” Explain this statement.