n = int(input("How many numbers do you need to check? "))
even = 0
odd = 0
for x in range(n):
num = int(input("Enter number: "))
if num % 2 == 0:
even += 1
print(str(num) + " is an even number.")
else:
odd += 1
print(str(num) + " is an odd number.")
print("You entered " + str(even) + " even number(s).")
print("You entered " + str(odd) + " odd number(s).")
This works for me. Best of luck.
In the above case, you want to add a caption to a table by the use of the References tab option.
<h3>What is the Add captions about?</h3>
In this case, one can click on the object ( be it table, equation, other object) that a person intend to add a caption to via the use of the References tab, as seen in the Captions group, then one can click Insert Caption and via the Label list, one can click on the label that best tell more about the object, or figure.
Note that In the above case, you want to add a caption to a table by the use of the References tab option.
Learn more about table from
brainly.com/question/24277490
#SPJ1
Answer:
Explanation:
The following code is written in Pyton and keeps prompting the user for new decimal values, once the user is done it loops through the array getting the highest three values and outputting them to the user.
def atleast_three():
numbers = []
smallest = 0
medium = 0
largest = 0
while True:
numbers.append(float(input("Please enter a decimal value: ")))
answer = input("Add another value? Y/N").lower()
if answer != 'y':
break
else:
continue
for x in numbers:
if x > largest:
largest = x
elif (x > medium) & (x < largest):
medium = x
elif (x > smallest) & (x < medium):
smallest = x
print(str(smallest) + ", " + str(medium) + ", " + str(largest))
Answer:
It is called electronic news gathering
Explanation:
The answer is False. <span>To keep your audience interested in your speech, you should do the ff techniques :
</span><span>1. Talk about something your audience is interested in
</span><span>2. Tell them why they should listen
</span><span>3. Don’t make it too easy or too hard
</span><span>4. “Change grabs attention”
</span><span>5. Tell stories
</span><span>6. Have frequent breaks
</span><span>7. Make it short</span>