subject
Engineering, 12.03.2020 05:23 madeleine43

Ada Lovelace Day, celebrating Ada, Countess of Lovelace as the first computer programmer, is traditionally celebrated on the second Tuesday of October each year.

write a function that takes a year in the gregorian calendar as an integer and returns the day of October on which Ada Lovelace day falls, also as an integer. for example, given 2018 you should return 9 (since the 9th of October is the second Tuesday in October.

Your function does not have to account for non-gregorian calendars or null years.

Can you please help me with this in PYTHON. Thanks

def ada(year):

ansver
Answers: 1

Another question on Engineering

question
Engineering, 03.07.2019 23:20
Two technicians are discussing the intake air temperature (iat) sensor. technician a says that the computer uses the iat sensor as a backup to the engine coolant temperature (ect) sensor. technician b says that the powertrain control module (pcm) will subtract the calculated amount of fuel if the air measures hot. who is correct
Answers: 3
question
Engineering, 04.07.2019 18:10
What difference(s) did you notice using a pneumatic circuit over hydraulic circuit.explain why the pneumatic piston stumbles when it hits an obstacle.
Answers: 2
question
Engineering, 04.07.2019 18:10
The temperature of air decreases as it is compressed by an adiabatic compressor. a)- true b)- false
Answers: 2
question
Engineering, 04.07.2019 18:10
The drive force for diffusion is 7 fick's first law can be used to solve the non-steady state diffusion. a)-true b)-false
Answers: 1
You know the right answer?
Ada Lovelace Day, celebrating Ada, Countess of Lovelace as the first computer programmer, is traditi...
Questions
question
English, 10.06.2020 19:57
question
Mathematics, 10.06.2020 19:57
question
English, 10.06.2020 19:57