Answer:
a=input("Amount in pennies")
b=int(a)
dollars=0
dimes= 0
quarters=0
nickels=0
pennies = 0
dollars = int(b/100)
b= b- dollars *100
quarters=int(b/25)
b=b-quarters*25
dimes = int(b/10)
b = b -dimes*10
nickels=int(b/5)
b=b - nickels * 5
pennies = b
print(dollars)
print(dimes)
print(nickels)
print(pennies)
Explanation:
The required program is in answer section. Note, the amount is entered in pennies.
Answer:
negatives = []
zeros = []
positives = []
while True:
number = input("Enter a number: ")
if number == "":
break
else:
number = int(number)
if number < 0:
negatives.append(number)
elif number == 0:
zeros.append(number)
else:
positives.append(number)
for n in negatives:
print(n)
for z in zeros:
print(z)
for p in positives:
print(p)
Explanation:
Initialize three lists to hold the numbers
Create a while loop that iterates until the user enters a blank line
Inside the loop:
If the number is smaller than 0, put it in the negatives list
If the number is 0, put it in the zeros list
Otherwise, put the number in the negatives list
When the while loop is done, create three for loops to print the numbers inside the lists
Answer:
The option to add the date and time to a document is located in the
text grouping on the Insert tab.
Explanation:
............................
Mark me brainliest^^