Computer Science, asked by abcdefgabcdefg47027, 5 days ago

display the week day in words in python​

Answers

Answered by shs0921520jasleen
0

Answer:

Method 1: Do it Manually

# Define a list of weekday names.

days = ['Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday', 'Sunday']

# Index using weekday int value.

days[date. weekday()]

>>> Sunday.

Answered by vruttimulam860
1

Answer:

Method 1: Do it Manually

• # Define a list of weekday names.

• days = = ['Monday', 'Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday']

• # Index using weekday int value.

days[date. weekday()]

• >>> Sunday.

i hope so this answer helps you

Similar questions