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

Which text evidence BEST supports the inference that Jacqueline was not always sure of her writing ability?
Historical research and analysis can be a bit like detective work. Instead of searching for clues we are looking for evidence, especially reliable and relevant
Which of the following best explains why ten of the former Confederate states rewrote or amended their state constitutions? a. They were required to rewrite the
The value of y varies directly with x if x=8 then y=96 what is the value of x when y=196
What led up to the battle of Alamo
PLeaseeeee Helppp Me
please help!! i will give brainliest!! A chemical change resulting from a reaction with oxygen is called a) burning b) reduction c) oxide d) oxidation
What is the most common type of yoga practiced in the United States? A. Bikram B. Ashtanga C. Sivanada D. Hatha
in the 1960s, the fbi investigated the unintelligible lyrics of which popular song
A poem that expresses feelings or ideas about a topic is a: a lyric poem b stanza c limerick d narrative poem