Question d’entretien chez Siemens

Python Coding Question: 1. Reverse a string in python. 2. Take integer input from user and check if the given number is prime or not.