Aton interview question

Simple probability questions and python syntaxis problems