miscellaneous topics ii we have seen booleans before the isalpha string method returns true if every character of the string is letter and false otherwise shortcuts shortcut operators operations like count=count+ occur so often that there is shorthand for them here are couple of examplesstatement shorthand count=count+ count+= total=total- total-= prod=prod* prod*= there are also shortcut operators /=%=//=and **an assignment shortcut look at the code below nice shortcut isa another assignment shortcut say we have list with three elements in itand we want to assign those elements to variable names we could do the followingx [ [ [ insteadwe can do thisx, , similarlywe can assign three variables at time like belowx, , , , andas we have seen once beforewe can swap variables using this kind of assignment , , , , shortcuts with conditions here are some handy shortcutsstatement shortcut if == and == and == if == == == if < and < and < if < < <