T = ()print(type(T))T = (1)print(type(T))T = (1,2,3)print(type(T))T =(1,'dva',3.0)print(type(T))T = (1,)print(type(T))
Standard input is empty
<class 'tuple'> <class 'int'> <class 'tuple'> <class 'tuple'> <class 'tuple'>
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!