This code determines whether a number entered is prime or not.
This code demonstrates the working of while loop. This example keeps slicing off the first character of a string until the string is empty and hence false.
There are broadly two types of data in python (version 3.x),IMMUTABLE data-types and MUTABLE data-types.