wow this was complete garbage!
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
import time
|
||||
|
||||
|
||||
print("-=+ TASK 1 +=-")
|
||||
studentName = input("Enter your name\n> ")
|
||||
scoreOne = int(input("Enter your first score\n> "))
|
||||
scoreTwo = int(input("Enter your second score\n> "))
|
||||
scoreThree = int(input("Enter your third score\n> "))
|
||||
|
||||
beforeDiv = scoreOne+scoreTwo+scoreThree
|
||||
finalScore = beforeDiv / 3
|
||||
|
||||
print(f'NAME: {studentName}\nSCORE: {round(finalScore, 2)}')
|
||||
|
||||
print("-=+ TASK 2 +=-")
|
||||
nameOne = input("Enter the name of the first person\n> ")
|
||||
nameTwo = input("Enter the name of the second person\n> ")
|
||||
foodOne = int(input("How much did person 1 spend on food?\n£"))
|
||||
foodTwo = int(input("How much did person 2 spend on food?\n£"))
|
||||
drinksOne = int(input("How much did person 1 spend on drinks?\n£"))
|
||||
drinksTwo = int(input("How much did person 2 spend on drinks?\n£"))
|
||||
total = foodOne+foodTwo+drinksOne+drinksTwo
|
||||
print(total/2)
|
||||
|
||||
time.sleep(5)
|
||||
Reference in New Issue
Block a user