part iitalking the talk determining variable' type sometimes you might want to know the vari able type perhaps the type isn' obvious from the code or you've received the information from source whose code isn' accessible whenever you want to see the type of vari ableuse the type(method for exampleif you start by placing value of in myint by typing myint and pressing enteryou can find the type of myint by typing type(myintand pressing enter the output will be <class 'int'>which means that myint contains an int value when using boolean value in pythonyou rely on the bool type variable of this type can contain only two valuestrue or false you can assign value by using the true or false keywordsor you can create an expression that defines logical idea that equates to true or false for exampleyou could saymybool which would equate to false because is most definitely not greater than you see the bool type used extensively in the bookso don' worry about understanding this concept right now understanding strings of all the data typesstrings are the most easily understood by humans and not understood at all by computers if you have read the previous in this bookyou have already seen strings used quite for exampleall the example code in relies on strings string is simply any grouping of characters you place within double quotes for examplemystring "python is great language assigns string of characters to mystring the computer doesn' see letters at all every letter you use is represented by number in memory for examplethe letter is actually the number to see this for yourselftype ord(" "at the python prompt and press enter you see as output it' possible to convert any single letter to its numeric equivalent using the ord(command because the computer doesn' really understand stringsbut strings are so useful in writing applicationsyou sometimes need to convert string to number you can use the int(and float(commands to perform this conversion for exampleif you type myint int(" "and press enter at the python promptyou create an int named myint that contains the value figure - shows how you can perform this task and validate the content and type of myint