Infosys Interview Question

Python coding question : 1. prime number 2. Left rotaion