Answer:
output: 8
Step-by-step explanation:
since x=0, y would equal 8 and y is the output.
Originally, both range() and xrange() produced numbers that could be iterated over with ... whereas reversed() is generally used to loop over a sequence in reverse order. ... Once you have it installed, put in the following:.
Answer:
<em>36%</em>
Step-by-step explanation:
"8 kg of mixed nuts containing 26% peanuts"
weight of peanuts: 26% * 8 kg = 0.26 * 8 kg = 2.08 kg
"5 kg ... that contain 52% peanuts"
weight of peanuts: 52% * 5 kg = 0.52 * 5 kg = 2.6 kg
Total weight of peanuts: 2.08 kg + 2.6 kg = 4.68 kg
Total weight of mixed nuts: 8 kg + 5 kg
percent of peanuts: (4.68 kg)/(13 kg) * 100% = 36%
Answer:
5 friends
Step-by-step explanation:
Since the snacks are worth $25, it is deducted from the total
10x=75-25
10x=50
x=5