5 Answers
+ 2
type() function basic purpose was to return a string, representing the data type of the object given as the argument for type() function. So you need to pass that information either into a variable for later necessity, or send it to print() function to see the information.
print( type( [ 1, 2, 3 ] ) )
https://www.tutorialsteacher.com/JUMP_LINK__&&__python__&&__JUMP_LINK/type-method
+ 1
Can you show me how you wrote it? it's a function regularly used, and there shouldn't be any problem.
+ 1
Thank you
0
So how can I check Python version in play ground?
0
Found this by searching Playground with 'python version' term
https://code.sololearn.com/c20FpE7gTXze/?ref=app