<s> import datetime <EOL> strDeadline = "<STR_LIT>" <EOL> totalNbrDays = <NUM_LIT:0> <EOL> nbrWeeks = <NUM_LIT:0> <EOL> nbrDays = <NUM_LIT:0> <EOL> currentDate = datetime . date . today ( ) <EOL> strDeadline = input ( "<STR_LIT>" ) <EOL> deadline = datetime . datetime . strptime ( strDeadline , "<STR_LIT>" ) . date ( ) <EOL> totalNbrDays = deadline - currentDate <EOL> nbrWeeks = totalNbrDays . days / <NUM_LIT:7> <EOL> nbrDays = totalNbrDays . days % <NUM_LIT:7> <EOL> print ( "<STR_LIT>" % nbrWeeks + "<STR_LIT>" % nbrDays + "<STR_LIT>" ) </s>
