What’s the word? There is no word here?
Answer:Many animals and plants have become extinct or endangered due to human error. In fact about 1 million species are in danger of becoming extinct. Orangutans are becoming extinct due to deforestation. Too many trees are being cut down leaving them without a way to survive. Carnivorous plants are also at risk due to damaged environment.
Explanation: YWW FRIEND!!
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:
The solution code is written in Python:
- itemsOSS = ""
- userItem = input("Enter an item: ")
-
- while(item != "Exit"):
- itemsOSS += userItem + " "
- userItem = input("Enter an item: ")
-
- print(itemsOSS)
Explanation:
Firstly, we create a variable itemsOSS (intialized it with empty string) and use it as output string stream (Line 1).
Next use input function to prompt user to enter first item (Line 2)
While the item value is not "Exit" (Line 4), append userItem to variable itemsOSS.
When the user enter "Exit", use print function to print the itemsOSS string (Line 8).