learning new concepts in python