JPMorganChase Interview Question

Basic python questions, some simple braim teasers.