Escrito por estudiantes que aprobaron Inmediatamente disponible después del pago Leer en línea o como PDF ¿Documento equivocado? Cámbialo gratis 4,6 TrustPilot
logo-home
Document preview thumbnail
Vista previa 1 fuera de 4 páginas
Otro

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

Document preview thumbnail
Vista previa 1 fuera de 4 páginas

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

Vista previa del contenido

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

Información del documento

Nivel de Estudio
Tema
Subido en
27 de mayo de 2025
Número de páginas
4
Escrito en
2024/2025
Tipo
Otro
Personaje
Desconocido
$9.10

¿Documento equivocado? Cámbialo gratis Dentro de los 14 días posteriores a la compra y antes de descargarlo, puedes elegir otro documento. Puedes gastar el importe de nuevo.
Escrito por estudiantes que aprobaron
Inmediatamente disponible después del pago
Leer en línea o como PDF

Vendido
1
Seguidores
0
Artículos
11
Última venta
1 año hace




Por qué los estudiantes eligen Stuvia

Creado por compañeros estudiantes, verificado por reseñas

Calidad en la que puedes confiar: escrito por estudiantes que aprobaron y evaluado por otros que han usado estos resúmenes.

¿No estás satisfecho? Elige otro documento

¡No te preocupes! Puedes elegir directamente otro documento que se ajuste mejor a lo que buscas.

Paga como quieras, empieza a estudiar al instante

Sin suscripción, sin compromisos. Paga como estés acostumbrado con tarjeta de crédito y descarga tu documento PDF inmediatamente.

Student with book image

“Comprado, descargado y aprobado. Así de fácil puede ser.”

Alisha Student

Preguntas frecuentes