Skip to content

feat: add ex2.py#241

Open
MargaroneGiada wants to merge 4 commits intoUNICT-Quality-Development:mainfrom
MargaroneGiada:ex2
Open

feat: add ex2.py#241
MargaroneGiada wants to merge 4 commits intoUNICT-Quality-Development:mainfrom
MargaroneGiada:ex2

Conversation

@MargaroneGiada
Copy link
Copy Markdown

No description provided.

src/ex2.py Outdated
if(number>0 and number<8):
return week_day[number-1]
else:
return ''
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.

l'else lo puoi cancellare

src/ex2.py Outdated
number = int(input("Enter week number(1-7): "))
week_day = ["Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday"]

if(number>0 and number<8):
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.

se usi un formatter inserirà qualche spazio nel 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