Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- minutes = int(input())
- name = input()
- if minutes == 0:
- print(f"Match has just began!")
- if minutes < 45:
- print(f"First half time.")
- if 0 < minutes <= 10:
- print(f"{name} missed a penalty.")
- if minutes % 2 == 0:
- print(f"{name} was injured after the penalty.")
- elif 10 < minutes <= 35:
- print(f"{name} received yellow card.")
- if minutes % 2 == 1:
- print(f"{name} got another yellow card.")
- elif 35 < minutes < 45:
- print(f"{name} SCORED A GOAL !!!")
- if minutes >= 45:
- print(f"Second half time.")
- if 45 < minutes < 55:
- print(f"{name} got a freekick.")
- if minutes % 2 == 0:
- print(f"{name} missed the freekick.")
- elif 55 <= minutes < 80:
- print(f"{name} missed a shot from corner.")
- if minutes % 2 == 1:
- print(f"{name} has been changed with another player.")
- elif 80 <= minutes <= 90:
- print(f"{name} SCORED A GOAL FROM PENALTY !!!")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement