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

What did humans in England do to change the tree trunks in mid 1800's? Group of answer choices engaged in clear cutting which removed many acres of forest burne
I really need help on this one
What is the concentration of a solution containing 0.32 moles of NaCl in 3.4 liters?
The Buffalo Soldiers were a African American cavalry and soldiers who served in the frontier wars. b soldiers who were court martialed for assisting Plains Indi
Product of [x y] [1 2] is
359 110" 350 Triangle A Triangle B Given the triangles above, what is the measure, in degrees, of angle x?
- Màng quấn PE có tính chất hóa học của hydrocacbon không tác dụng trong môi trường có axit, thuốc tím, kiềm. - Không màu mùi, hòa tan kém trong nhiệt độ cao. h
What is the difference between high comedy and low comedy?
Which molecule uses Facilitated Diffusion to move from high to low concentration across a cell membrane? A. water B. oxygen C. glucose D. carbon dioxide
John saved $33. which was 30% of the money he eamed. How much did he earn in total?