I took a bit of a break from work for a bit, but I am getting back again. For the next few days and weeks I am going to be a bit slower at keeping up the pace while still making progress.
I began today by working on learning the basics of logical operators within Python. That being or, and and not functions with if statements. In this case, the program works out the temperature and the weather conditions for an event. If it does not match the criteria the event is cancelled or still ongoing. As well as utilising the and operator to display the weather and temperature and the not operator to do the opposite for the Boolean value and change the 'is it sunny' variable to be cloudy.



No comments:
Post a Comment