change print stmt to print() & custom func for raw_input() or input()