# here is the string stiring = 'str' # here is the conversion conv = int(string) # here is the type of the conv or else if its an integer or not type(conv) #Output # <class 'int'>