Python uses dynamic typing, meaning you can reassign variables to different data types. This makes Python very flexible in assigning data types; it differs from other languages that are statically typed. We can use a colon(:) to perform slicing which grabs everything up to a designated point. s='Hello world' print(s[:5])=Hello we can use two colons in a row and then a number specifying the frequency to grab elements. For example: s[::2] 'HloWrd' s[::3] 'Hlwl' s[::-1] 'dlroW olleH' .split() is a Built in string method used to split the string, by default it takes the blank spaces s='please split this function' s.split() ['please','split','this','function'] Split by a specific element by using that letter s.split('f') ['please split this', 'unction'] We can use the .format() method to add formatted objects to printed string statements. print('Insert another string...
How to create Map reports in SSRS First create a table which contains State name and Population as columns. Next insert a Map item in the report body. Next choose a source of spatial data by default Map gallery is selected and it is for USA. Now in Map Gallery choose USA by State Exploded, we can see preview on the right. Next select Basic Map as the map visualization and in Data field select #STUSPS for abbreviated names of the state in the MAP. Now in order to assign the dataset, click on the Polygon drop down and select Layer Data, for assigning the Tooltip to display the population go to Polygon properties. In the Layer Data go to Analytical data and select the dataset and also choose the STATENAME, If more than one column is matching then choose others too. Also assign the tooltip as sum(population) in polygon properties At last choose Polygon Color Rule to change polygon colors.