True but ill keep typing so it meets twenty charecters
Free Wi-Fi is typically offered on public network
Answer:
Answered below
Explanation:
//Python code
numberOfCasts = 3
j = 0
fishingPoints = 0
sum = 0
while j < numberOfCasts:
dieNum = randint(1 , 6)
if dieNum ==1:
fishingPoints = 2
elif dieNum == 2:
fishingPoints = 4
elif dieNum == 3:
fishingPoints = 6
elif dieNum == 4:
fishingPoints = 8
elif dieNum == 5:
fishingPoints = 10
elif dieNum ==6:
fishingPoints = 12
sum += fishingPoints
j++
if sum > 30:
print ("Great catch")
elif sum > 10 and sum <= 30:
print("Good catch")
else:
print ("Bad day")
Examples
<u>Lists: </u>
- Keep track of how much water you drink per day
- Hours spent on studying per week
- The growth of a plant
<u>Dictionaries:</u>
- Keep track of overall grades for each subject
- Keep track of where money is mostly spent on
- Dates for upcoming assessments and tests
Hope these examples help :)