a = 3s = str(a) print(s)print(type(s))print("") i = int(s)print(i)print(type(i))
Standard input is empty
3 <class 'str'> 3 <class 'int'>
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!