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

describe the integumentry system in three words
what role did j edgar hoover play in the second red scare
EASY 14 POINTS, PLEASE HELP ASAP. Go into a dark room with a flashlight and face the beam toward a wall. Change the flashlight's distance from the wall as well
Which of the following terms describes general shermans march across Georgia?
Which mechanism of genetic variation results from the exchange of gene segments between non-sister chromatids? A.Crossing over B. Independent assortment C.Rando
A ground-fault circuit interrupter is a (an) _____. A)wire that provides an easier path for a current to take if a short circuit develops B) electrical safety
Which model stipulates that the goal of political parties is to win offices and to control the distribution of government jobs?
What is the value, after 7 years...
The questions below refer to the selection "The Tragedy of Julius Caesar, Act II.” Caesar’s initial decision to stay at home rather than to go to the Senate is
The defender: how the legendary black newspaper changed america