a = "cool" type(a) //result <class 'str'> or do `dir(a)` to see the list of inbuilt methods you can have on the variable.