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

As a result of the Punic Wars, Rome __________. A:lost is overseas empire B: lost control over most of Italy C:was burned to the ground D:won control over the w
Which number best describes the number of stars you would find in a galaxy? A. hundreds B. thousands C. millions D. billions
What do the terms reincarnation, monotheism, salvation, & prophet have in common? Write a definition for each.
Which description best fits the Neolithic Revolution? (1) moving from urban centers to rural centers (2) using petrochemical fertilizers and pesticides to incre
Describe the similarities and differences between the motion of particles in liquids and gases.
The early Egyptians are thought to have used what type of scale?
What is the gram-formula mass of (NH4)3PO4?(1) 112g/mol (2) 121g/mol (3) 149g/mol (4) 242g/mol
Which of the following is NOT true concerning the Green Revolution? (A) It has been highly ineffective in increasing agricultural yields. (B) It has reinforced
200 books ; 75% decrease
Yello light on a red object, the object appears what color ?