Skip to content

How to check the type of a variable in Python?

v = 10
type(v)
# <type 'int'>
See also  Python code snippet - How to run the server in django?

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.