python programming ?
dayOne = ('monday') or ('Monday')
dayTwo = ('tuesday') or ('Tuesday')
dayThree = ('wednesday') or ('Wednesday')
dayFour = ('Thursday') or ('thursday')
dayFive ('friday') or ("Friday")
daySix = ('saturday') or ('Saturday')
daySeven = ('sunday') or ("Sunday")
im using python and im trying to make the the word on the left of the equals sign variables. its not working what am i doing wrong ?
- brilliant_movesLv 74 weeks ago
Although you could use tuples like this:
dayOne = ('monday', 'Monday')
I think it would be best to use a list for this:
days = [ 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday', 'Sunday' ]
print (days) # first item in list
print (days.lower()) # lower case