Skip to content

refactor(ex2.py): converted code in python and added array#201

Open
Nathh17 wants to merge 2 commits intoUNICT-Quality-Development:mainfrom
Nathh17:Ex2
Open

refactor(ex2.py): converted code in python and added array#201
Nathh17 wants to merge 2 commits intoUNICT-Quality-Development:mainfrom
Nathh17:Ex2

Conversation

@Nathh17
Copy link
Copy Markdown

@Nathh17 Nathh17 commented Nov 11, 2025

No description provided.

src/ex2.py Outdated
if day in range(1,7):
print(week[day-1])
else:
print("Invalid input! Please enter week number between 1-7.")
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

puoi fare il wrap del codice in una funzione

quindi crea una funzione che implementi questo codice

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants