Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Document preview thumbnail
Preview 1 out of 4 pages
Other

BTEC IT Level 3 Unit 4 Programming – Assignment 2 Python Code Files Distinction

Document preview thumbnail
Preview 1 out of 4 pages

This compressed folder contains the fully working Python code files for Assignment 2 of BTEC Level 3 National Extended Diploma in Information Technology, Unit 4: Programming. The code is written in Python and includes detailed comments for clarity and understanding. The code demonstrates a fully functional program that meets the assignment requirements and has been completed to a Distinction standard. It is provided with test screenshots and evidence to support assessment. This resource is perfect for students who want to review working Python code examples or need a reference to help with their own programming assignment. The files are easy to adapt and follow best practices for clarity and structure

Content preview

import time

def slow_print(text): #Creates a function for slow print
for char in text:
print(char, end='', flush=True)
time.sleep(0.025)
print()

slow_print("!!!Tournament System!!!")
def game(): #Creates a function to start the game
name=input(("What is your name? ")) #asks user to input name
slow_print("Welcome to the tournament system " + name)
slow_print("You will have a choice from either academic or sports events.")
slow_print("You will have to select the category you want to participate in.")
slow_print("Select either SPORTS or ACADEMIC.")
print(" ")
select_category() #calls the 'select_category' function

def select_category():
category = input("What category would you like to select? ") #asks user to input
category
if category.lower() == "academic":
slow_print("You have selected academic events")
print(" ")
slow_print("Choose 5 events from this list: ")
print("")
print("1. Chess")
print("2. Cooking")
print("3. Sudoku")
print("4. Spelling")
print("5. Tic Tac Toe")
print("6. Connect 4")
print("7. Checkers")
print("8. Programming")
print("9. Crossword")
print("10. Word Hunt")
print(" ")
aevent_selection()

print("")
elif category.lower() =="sports":
slow_print("You have selected sports events")
print(" ")
slow_print("Choose 5 events from this list: ")
print("")
print("1. Basketball")
print("2. Football")
print("3. Swimming")
print("4. Volleyball")
print("5. Baseball")
print("6. Running")
print("7. Golf")
print("8. Tennis")
print("9. Table Tennis")
print("10. Badminton")
print(" ")
sevent_selection()
else:
select_category() #will repeat if user inputs anything other than academic or

Document information

Study Level
Subject
Uploaded on
May 27, 2025
Number of pages
4
Written in
2024/2025
Type
Other
Person
Unknown
$9.02

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Sold
1
Followers
0
Items
11
Last sold
1 year ago



Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions