MSI692 Module 1 - University at Albany, SUNY
2. An integer constant . dayOfWeek1. has a value from 0 to 6 and represents the day of the week for January 1st (0=Sunday, 1=Monday, etc.). A variable . day. has a value from 1 to 31 and represents a day in January. Write an expression that calculates the day of the week for any given value of . day. For example, if . dayOfWeek =0 (January 1st ...
python convert int to boolean