For this Question: Given a String <b>S</b>, you need to typecast this String to Integer. If the typecasting is done successfully then we will print "<b>Nice Job</b>" otherwise "<b>Wrong answer</b>".User task:
Since this is a functional problem you don't have to worry about the input. You just have to complete the function <b>checkConvertion()</b>, which contains S as parameter.

Constraints:-
1 <= |S| <= 8

The string will contain only numeric digits(1-9)You need to return the typecasted integer value. The driver code will print "<b>Nice Job</b>" otherwise "<b>Wrong answer</b>".Sample Input:
548

Sample Output:
Nice Job

Sample Input:
6

Sample Output:
Nice Job, I have written this Solution Code: a=input()
try:
    b=int(a)
    print("Nice Job")
except:
    print("Wrong answer"), In this Programming Language: Python, Now tell me if this Code is compilable or not?