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

hello can someone please help me on this please
can someone help me with this????????????
hi there can anyone help me out with this please
What type of verbal appears in the sentence? My goal is to skydive over the Grand Canyon.
Why were community lands not recognized by U.S. lawyers?
at 450℃ will the lead be a solid ,liquid or gas
There are specific response procedures for different kinds of injuries. true false
What code book would be used to code a nosebleed
Steven was given the function, f(x)=1.05^2t and asked to determine the rate of change and the type of exponential function. What is the best way for Steven to d
Solve this: 4x + 5x = 10(x - 2) Please, answer ASAP as my sheet is due in 10 minutes.