first exercise solution on python