{"id":11097,"date":"2015-10-27T02:43:17","date_gmt":"2015-10-27T06:43:17","guid":{"rendered":"http:\/\/bangla.salearningschool.com\/?p=11097"},"modified":"2015-11-11T01:00:58","modified_gmt":"2015-11-11T06:00:58","slug":"%e0%a6%aa%e0%a6%be%e0%a6%87%e0%a6%a5%e0%a6%a8-%e0%a6%aa%e0%a7%8d%e0%a6%b0%e0%a7%8b%e0%a6%97%e0%a7%8d%e0%a6%b0%e0%a6%be%e0%a6%ae%e0%a6%bf%e0%a6%82-%e0%a6%b8%e0%a7%8d%e0%a6%9f%e0%a7%8d%e0%a6%b0","status":"publish","type":"post","link":"http:\/\/bangla.sitestree.com\/?p=11097","title":{"rendered":"\u09aa\u09be\u0987\u09a5\u09a8 \u09aa\u09cd\u09b0\u09cb\u0997\u09cd\u09b0\u09be\u09ae\u09bf\u0982 : \u09b8\u09cd\u099f\u09cd\u09b0\u09bf\u0982 (Python Strings in Bangla)"},"content":{"rendered":"<h2><strong>1.10 Python Strings<\/strong><\/h2>\n<h2>Accessing Values in Strings<\/h2>\n<p>\u09a8\u09bf\u099a\u09c7\u09b0 \u0995\u09cb\u09a1\u099f\u09bf \u09b2\u0995\u09cd\u09b7\u09cd\u09af \u0995\u09b0\u09bf,<\/p>\n<hr \/>\n<pre>#!\/usr\/bin\/python\r\n\r\nvar1 = 'Hello World!'\r\nvar2 = \"Python Programming\"\r\n\r\nprint \"var1[0]: \", var1[0]\r\nprint \"var2[1:5]: \", var2[1:5]<\/pre>\n<hr \/>\n<p>&nbsp;<\/p>\n<p>\u0989\u09aa\u09b0\u09c7\u09b0 \u0995\u09cb\u09a1\u099f\u09bf \u09b0\u09be\u09a8 \u0995\u09b0\u09be\u09b2\u09c7 \u09a8\u09bf\u099a\u09c7\u09b0 \u09ab\u09b2\u09be\u09ab\u09b2 \u09aa\u09cd\u09b0\u09bf\u09a8\u09cd\u099f \u09b9\u09ac\u09c7\u0964<\/p>\n<hr \/>\n<pre>var1[0]:\u00a0 H\r\nvar2[1:5]:\u00a0 ytho<\/pre>\n<hr \/>\n<p>&nbsp;<\/p>\n<h2>Updating Strings<\/h2>\n<p>\u0985\u09a8\u09cd\u09af \u098f\u0995\u099f\u09bf \u09b8\u09cd\u099f\u09cd\u09b0\u09bf\u0982 \u098f\u09b0 \u09b8\u09be\u09a5\u09c7 \u0995\u09cb\u09a8 \u09ad\u09c7\u09b0\u09bf\u09df\u09c7\u09ac\u09b2 \u098f\u09b8\u09be\u0987\u09a8 \u0995\u09b0\u09c7 \u098f\u0995\u099f\u09bf \u09b8\u09cd\u099f\u09cd\u09b0\u09bf\u0982 \u0995\u09c7 \u0986\u09aa\u09a1\u09c7\u099f \u0995\u09b0\u09be \u09af\u09be\u09df\u0964 \u09af\u09c7\u09ae\u09a8\u0983<\/p>\n<hr \/>\n<pre>#!\/usr\/bin\/python\r\n\r\nvar1 = 'Hello World!'\r\n\r\nprint \"Updated String :- \", var1[:6] + 'Python'<\/pre>\n<hr \/>\n<p>&nbsp;<\/p>\n<p>\u0989\u09aa\u09b0\u09c7\u09b0 \u0995\u09cb\u09a1\u099f\u09bf \u09b0\u09be\u09a8 \u0995\u09b0\u09be\u09b2\u09c7 \u09a8\u09bf\u099a\u09c7\u09b0 \u09ab\u09b2\u09be\u09ab\u09b2 \u0986\u09b8\u09ac\u09c7\u0964<\/p>\n<hr \/>\n<pre>Updated String :- Hello Python<\/pre>\n<hr \/>\n<p>&nbsp;<\/p>\n<h2>Escape Characters<\/h2>\n<p>\u09a8\u09bf\u099a\u09c7\u09b0 \u099f\u09c7\u09ac\u09bf\u09b2\u09c7 \u0995\u09bf\u099b\u09c1 Escape Characters \u09a6\u09c7\u09df\u09be \u09b9\u09b2, \u09af\u09c7\u0997\u09c1\u09b2\u09cb \u0995\u0996\u09a8\u09cb \u09aa\u09cd\u09b0\u09cb\u0997\u09cd\u09b0\u09be\u09ae \u09b0\u09c7\u09b8\u09be\u09b2\u09cd\u099f\u09c7\u09b0 \u09aa\u09cd\u09b0\u09bf\u09a8\u09cd\u099f\u09c7 \u0986\u09b8\u09c7 \u09a8\u09be\u0964 \u098f\u09a7\u09b0\u09a8\u09c7\u09b0 Escape Characters \u09ac\u09cd\u09af\u09ac\u09b9\u09be\u09b0 \u0995\u09b0\u09a4\u09c7 \u0995\u09bf\u099b\u09c1 <strong>Backslash<\/strong> <strong>notation<\/strong><strong> \u09ac\u09cd\u09af\u09ac\u09b9\u09c3\u09a4 \u09b9\u09df\u0964<\/strong><\/p>\n<p>&nbsp;<\/p>\n<table width=\"604\">\n<tbody>\n<tr>\n<td width=\"150\"><strong>Backslash<br \/>\nnotation<\/strong><\/td>\n<td width=\"94\"><strong>Hexadecimal<br \/>\ncharacter<\/strong><\/td>\n<td width=\"359\"><strong>Description<\/strong><\/td>\n<\/tr>\n<tr>\n<td width=\"150\">\\a<\/td>\n<td width=\"94\">0x07<\/td>\n<td width=\"359\">Bell or alert<\/td>\n<\/tr>\n<tr>\n<td width=\"150\">\\b<\/td>\n<td width=\"94\">0x08<\/td>\n<td width=\"359\">Backspace<\/td>\n<\/tr>\n<tr>\n<td width=\"150\">\\cx<\/td>\n<td width=\"94\"><\/td>\n<td width=\"359\">Control-x<\/td>\n<\/tr>\n<tr>\n<td width=\"150\">\\C-x<\/td>\n<td width=\"94\"><\/td>\n<td width=\"359\">Control-x<\/td>\n<\/tr>\n<tr>\n<td width=\"150\">\\e<\/td>\n<td width=\"94\">0x1b<\/td>\n<td width=\"359\">Escape<\/td>\n<\/tr>\n<tr>\n<td width=\"150\">\\f<\/td>\n<td width=\"94\">0x0c<\/td>\n<td width=\"359\">Formfeed<\/td>\n<\/tr>\n<tr>\n<td width=\"150\">\\M-\\C-x<\/td>\n<td width=\"94\"><\/td>\n<td width=\"359\">Meta-Control-x<\/td>\n<\/tr>\n<tr>\n<td width=\"150\">\\n<\/td>\n<td width=\"94\">0x0a<\/td>\n<td width=\"359\">Newline<\/td>\n<\/tr>\n<tr>\n<td width=\"150\">\\nnn<\/td>\n<td width=\"94\"><\/td>\n<td width=\"359\">Octal notation, where n is in the range 0.7<\/td>\n<\/tr>\n<tr>\n<td width=\"150\">\\r<\/td>\n<td width=\"94\">0x0d<\/td>\n<td width=\"359\">Carriage return<\/td>\n<\/tr>\n<tr>\n<td width=\"150\">\\s<\/td>\n<td width=\"94\">0x20<\/td>\n<td width=\"359\">Space<\/td>\n<\/tr>\n<tr>\n<td width=\"150\">\\t<\/td>\n<td width=\"94\">0x09<\/td>\n<td width=\"359\">Tab<\/td>\n<\/tr>\n<tr>\n<td width=\"150\">\\v<\/td>\n<td width=\"94\">0x0b<\/td>\n<td width=\"359\">Vertical tab<\/td>\n<\/tr>\n<tr>\n<td width=\"150\">\\x<\/td>\n<td width=\"94\"><\/td>\n<td width=\"359\">Character x<\/td>\n<\/tr>\n<tr>\n<td width=\"150\">\\xnn<\/td>\n<td width=\"94\"><\/td>\n<td width=\"359\">Hexadecimal notation, where n is in the range 0.9, a.f, or A.F<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<h2>Triple Quotes<\/h2>\n<p>Python \u098f triple quote \u098f\u09b0 \u09b8\u09be\u09b9\u09be\u09af\u09cd\u09af\u09c7 \u098f\u0995\u09be\u09a7\u09bf\u0995 \u09b2\u09be\u0987\u09a8\u09c7\u09b0 \u09b8\u09cd\u099f\u09c7\u099f\u09ae\u09c7\u09a8\u09cd\u099f \u09b2\u09c7\u0996\u09be \u09b9\u09df\u0964 triple quote \u09ac\u09cb\u099d\u09be\u09a4\u09c7 \u09a4\u09bf\u09a8\u099f\u09bf \u09b8\u09bf\u0999\u09cd\u0997\u09c7\u09b2 (\u2019\u2019\u2019) \u0985\u09a5\u09ac\u09be \u09a1\u09be\u09ac\u09b2 \u0995\u09cb\u099f\u09bf\u0982 (\u201d\u201d\u201d) \u099a\u09bf\u09b9\u09cd\u09a8 \u09ac\u09cd\u09af\u09ac\u09b9\u09c3\u09a4 \u09b9\u09df\u0964<\/p>\n<hr \/>\n<pre>#!\/usr\/bin\/python\r\n\r\npara_str = \"\"\"this is a long string that is made up of\r\nseveral lines and non-printable characters such as\r\nTAB ( \\t ) and they will show up that way when displayed.\r\nNEWLINEs within the string, whether explicitly given like\r\nthis within the brackets [ \\n ], or just a NEWLINE within\r\nthe variable assignment will also show up.\r\n\"\"\"\r\nprint para_str<\/pre>\n<hr \/>\n<p>&nbsp;<\/p>\n<p>\u0989\u09aa\u09b0\u09c7\u09b0 \u0995\u09cb\u09a1\u099f\u09bf\u09b0 \u09b0\u09c7\u09b8\u09be\u09b2\u09cd\u099f \u09b9\u09ac\u09c7,<\/p>\n<hr \/>\n<pre>this is a long string that is made up of\r\nseveral lines and non-printable characters such as\r\nTAB (\u00a0\u00a0\u00a0 ) and they will show up that way when displayed.\r\nNEWLINEs within the string, whether explicitly given like\r\nthis within the brackets [\r\n\u00a0], or just a NEWLINE within\r\nthe variable assignment will also show up.<\/pre>\n<hr \/>\n<p>&nbsp;<\/p>\n<p>Raw strings \u09ac\u09cd\u09af\u09ac\u09b9\u09be\u09b0 \u0995\u09b0\u09b2\u09c7 backslash character \u0997\u09c1\u09b2\u09cb\u09b0 \u09ac\u09cd\u09af\u09ac\u09b9\u09be\u09b0 \u09b9\u09df \u09a8\u09be\u0964 \u09af\u09c7\u09ae\u09a8,<\/p>\n<hr \/>\n<pre>#!\/usr\/bin\/python\r\n\r\nprint r'C:\\\\nowhere'<\/pre>\n<hr \/>\n<p>&nbsp;<\/p>\n<p>\u0989\u09aa\u09b0\u09c7\u09b0 \u0995\u09cb\u09a1\u099f\u09bf \u099a\u09be\u09b2\u09be\u09b2\u09c7 \u09a8\u09bf\u099a\u09c7\u09b0 \u09b0\u09c7\u09b8\u09be\u09b2\u09cd\u099f \u0986\u09b8\u09ac\u09c7\u0964<\/p>\n<hr \/>\n<p>C:\\\\nowhere<\/p>\n<hr \/>\n<p>&nbsp;<\/p>\n<h2>Unicode String<\/h2>\n<p>Normal strings \u0997\u09c1\u09b2\u09cb\u0995\u09c7 Python 8-bit ASCII \u09ab\u09b0\u09ae\u09cd\u09af\u09be\u099f\u09c7 \u09b8\u09cd\u099f\u09cb\u09b0 \u0995\u09b0\u09c7, \u0995\u09bf\u09a8\u09cd\u09a4\u09c1 Unicode strings \u0997\u09c1\u09b2\u09cb 16-bit Unicode \u0986\u0995\u09be\u09b0\u09c7 \u09b8\u09cd\u099f\u09cb\u09b0 \u09b9\u09df\u0964 \u098f\u09b0 \u09ab\u09b2\u09c7 \u098f\u0995\u099f\u09c1 \u09ad\u09bf\u09a8\u09cd\u09a8 \u09a7\u09b0\u09a8\u09c7\u09b0 \u0995\u09cd\u09af\u09be\u09b0\u09c7\u0995\u099f\u09be\u09b0 \u09ac\u09cd\u09af\u09ac\u09b9\u09be\u09b0 \u0995\u09b0\u09be \u09b8\u09ae\u09cd\u09ad\u09ac \u09b9\u09df\u0964<\/p>\n<hr \/>\n<pre>#!\/usr\/bin\/python\r\n\r\nprint u'Hello, world!'<\/pre>\n<hr \/>\n<p>&nbsp;<\/p>\n<p>\u0989\u09aa\u09b0\u09c7\u09b0 \u0995\u09cb\u09a1\u099f\u09bf \u09a8\u09bf\u099a\u09c7\u09b0 \u09b0\u09c7\u09b8\u09be\u09b2\u09cd\u099f \u09a6\u09bf\u09ac\u09c7\u0964<\/p>\n<hr \/>\n<pre>Hello, world!<\/pre>\n<hr \/>\n<p>&nbsp;<\/p>\n<p>Unicode strings \u098f prefix u \u09ac\u09cd\u09af\u09ac\u09b9\u09c3\u09a4 \u09b9\u09df, \u0986\u09b0 raw strings \u098f prefix r \u098f\u09b0 \u09ac\u09cd\u09af\u09ac\u09b9\u09be\u09b0 \u09b9\u09df\u0964<\/p>\n<p>&nbsp;<\/p>\n<h2>Built-in String Methods<\/h2>\n<p>Python \u09a8\u09bf\u099a\u09c7\u09b0 \u09ac\u09bf\u09b2\u09cd\u099f\u2212\u0987\u09a8 \u09ae\u09c7\u09a5\u09cb\u09a1\u0997\u09c1\u09b2\u09cb\u09b0 \u09b8\u09be\u09b9\u09be\u09af\u09cd\u09af\u09c7 \u09b8\u09cd\u099f\u09cd\u09b0\u09bf\u0982 \u0997\u09c1\u09b2\u09cb\u0995\u09c7 \u09aa\u09cd\u09b0\u09ad\u09be\u09ac\u09bf\u09a4 \u0995\u09b0\u09a4\u09c7 \u09aa\u09be\u09b0\u09c7\u0964<\/p>\n<table width=\"604\">\n<tbody>\n<tr>\n<td width=\"38\"><strong>SN<\/strong><\/td>\n<td width=\"565\"><strong>Methods with Description<\/strong><\/td>\n<\/tr>\n<tr>\n<td width=\"38\">1<\/td>\n<td width=\"565\">capitalize()<br \/>\nCapitalizes first letter of string<\/td>\n<\/tr>\n<tr>\n<td width=\"38\">2<\/td>\n<td width=\"565\">center(width, fillchar)<br \/>\nReturns a space-padded string with the original string centered to a total of width columns.<\/td>\n<\/tr>\n<tr>\n<td width=\"38\">3<\/td>\n<td width=\"565\">count(str, beg= 0,end=len(string))<br \/>\nCounts how many times str occurs in string or in a substring of string if starting index beg and ending index end are given.<\/td>\n<\/tr>\n<tr>\n<td width=\"38\">4<\/td>\n<td width=\"565\">decode(encoding=&#8217;UTF-8&#8242;,errors=&#8217;strict&#8217;)<br \/>\nDecodes the string using the codec registered for encoding. encoding defaults to the default string encoding.<\/td>\n<\/tr>\n<tr>\n<td width=\"38\">5<\/td>\n<td width=\"565\">encode(encoding=&#8217;UTF-8&#8242;,errors=&#8217;strict&#8217;)<br \/>\nReturns encoded string version of string; on error, default is to raise a ValueError unless errors is given with &#8216;ignore&#8217; or &#8216;replace&#8217;.<\/td>\n<\/tr>\n<tr>\n<td width=\"38\">6<\/td>\n<td width=\"565\">endswith(suffix, beg=0, end=len(string))<br \/>\nDetermines if string or a substring of string (if starting index beg and ending index end are given) ends with suffix; returns true if so and false otherwise.<\/td>\n<\/tr>\n<tr>\n<td width=\"38\">7<\/td>\n<td width=\"565\">expandtabs(tabsize=8)<br \/>\nExpands tabs in string to multiple spaces; defaults to 8 spaces per tab if tabsize not provided.<\/td>\n<\/tr>\n<tr>\n<td width=\"38\">8<\/td>\n<td width=\"565\">find(str, beg=0 end=len(string))<br \/>\nDetermine if str occurs in string or in a substring of string if starting index beg and ending index end are given returns index if found and -1 otherwise.<\/td>\n<\/tr>\n<tr>\n<td width=\"38\">9<\/td>\n<td width=\"565\">index(str, beg=0, end=len(string))<br \/>\nSame as find(), but raises an exception if str not found.<\/td>\n<\/tr>\n<tr>\n<td width=\"38\">10<\/td>\n<td width=\"565\">isalnum()<br \/>\nReturns true if string has at least 1 character and all characters are alphanumeric and false otherwise.<\/td>\n<\/tr>\n<tr>\n<td width=\"38\">11<\/td>\n<td width=\"565\">isalpha()<br \/>\nReturns true if string has at least 1 character and all characters are alphabetic and false otherwise.<\/td>\n<\/tr>\n<tr>\n<td width=\"38\">12<\/td>\n<td width=\"565\">isdigit()<br \/>\nReturns true if string contains only digits and false otherwise.<\/td>\n<\/tr>\n<tr>\n<td width=\"38\">13<\/td>\n<td width=\"565\">islower()<br \/>\nReturns true if string has at least 1 cased character and all cased characters are in lowercase and false otherwise.<\/td>\n<\/tr>\n<tr>\n<td width=\"38\">14<\/td>\n<td width=\"565\">isnumeric()<br \/>\nReturns true if a unicode string contains only numeric characters and false otherwise.<\/td>\n<\/tr>\n<tr>\n<td width=\"38\">15<\/td>\n<td width=\"565\">isspace()<br \/>\nReturns true if string contains only whitespace characters and false otherwise.<\/td>\n<\/tr>\n<tr>\n<td width=\"38\">16<\/td>\n<td width=\"565\">istitle()<br \/>\nReturns true if string is properly &#8220;titlecased&#8221; and false otherwise.<\/td>\n<\/tr>\n<tr>\n<td width=\"38\">17<\/td>\n<td width=\"565\">isupper()<br \/>\nReturns true if string has at least one cased character and all cased characters are in uppercase and false otherwise.<\/td>\n<\/tr>\n<tr>\n<td width=\"38\">18<\/td>\n<td width=\"565\">join(seq)<br \/>\nMerges (concatenates) the string representations of elements in sequence seq into a string, with separator string.<\/td>\n<\/tr>\n<tr>\n<td width=\"38\">19<\/td>\n<td width=\"565\">len(string)<br \/>\nReturns the length of the string<\/td>\n<\/tr>\n<tr>\n<td width=\"38\">20<\/td>\n<td width=\"565\">ljust(width[, fillchar])<br \/>\nReturns a space-padded string with the original string left-justified to a total of width columns.<\/td>\n<\/tr>\n<tr>\n<td width=\"38\">21<\/td>\n<td width=\"565\">lower()<br \/>\nConverts all uppercase letters in string to lowercase.<\/td>\n<\/tr>\n<tr>\n<td width=\"38\">22<\/td>\n<td width=\"565\">lstrip()<br \/>\nRemoves all leading whitespace in string.<\/td>\n<\/tr>\n<tr>\n<td width=\"38\">23<\/td>\n<td width=\"565\">maketrans()<br \/>\nReturns a translation table to be used in translate function.<\/td>\n<\/tr>\n<tr>\n<td width=\"38\">24<\/td>\n<td width=\"565\">max(str)<br \/>\nReturns the max alphabetical character from the string str.<\/td>\n<\/tr>\n<tr>\n<td width=\"38\">25<\/td>\n<td width=\"565\">min(str)<br \/>\nReturns the min alphabetical character from the string str.<\/td>\n<\/tr>\n<tr>\n<td width=\"38\">26<\/td>\n<td width=\"565\">replace(old, new [, max])<br \/>\nReplaces all occurrences of old in string with new or at most max occurrences if max given.<\/td>\n<\/tr>\n<tr>\n<td width=\"38\">27<\/td>\n<td width=\"565\">rfind(str, beg=0,end=len(string))<br \/>\nSame as find(), but search backwards in string.<\/td>\n<\/tr>\n<tr>\n<td width=\"38\">28<\/td>\n<td width=\"565\">rindex( str, beg=0, end=len(string))<br \/>\nSame as index(), but search backwards in string.<\/td>\n<\/tr>\n<tr>\n<td width=\"38\">29<\/td>\n<td width=\"565\">rjust(width,[, fillchar])<br \/>\nReturns a space-padded string with the original string right-justified to a total of width columns.<\/td>\n<\/tr>\n<tr>\n<td width=\"38\">30<\/td>\n<td width=\"565\">rstrip()<br \/>\nRemoves all trailing whitespace of string.<\/td>\n<\/tr>\n<tr>\n<td width=\"38\">31<\/td>\n<td width=\"565\">split(str=&#8221;&#8221;, num=string.count(str))<br \/>\nSplits string according to delimiter str (space if not provided) and returns list of substrings; split into at most num substrings if given.<\/td>\n<\/tr>\n<tr>\n<td width=\"38\">32<\/td>\n<td width=\"565\">splitlines( num=string.count(&#8216;\\n&#8217;))<br \/>\nSplits string at all (or num) NEWLINEs and returns a list of each line with NEWLINEs removed.<\/td>\n<\/tr>\n<tr>\n<td width=\"38\">33<\/td>\n<td width=\"565\">startswith(str, beg=0,end=len(string))<br \/>\nDetermines if string or a substring of string (if starting index beg and ending index end are given) starts with substring str; returns true if so and false otherwise.<\/td>\n<\/tr>\n<tr>\n<td width=\"38\">34<\/td>\n<td width=\"565\">strip([chars])<br \/>\nPerforms both lstrip() and rstrip() on string<\/td>\n<\/tr>\n<tr>\n<td width=\"38\">35<\/td>\n<td width=\"565\">swapcase()<br \/>\nInverts case for all letters in string.<\/td>\n<\/tr>\n<tr>\n<td width=\"38\">36<\/td>\n<td width=\"565\">title()<br \/>\nReturns &#8220;titlecased&#8221; version of string, that is, all words begin with uppercase and the rest are lowercase.<\/td>\n<\/tr>\n<tr>\n<td width=\"38\">37<\/td>\n<td width=\"565\">translate(table, deletechars=&#8221;&#8221;)<br \/>\nTranslates string according to translation table str(256 chars), removing those in the del string.<\/td>\n<\/tr>\n<tr>\n<td width=\"38\">38<\/td>\n<td width=\"565\">upper()<br \/>\nConverts lowercase letters in string to uppercase.<\/td>\n<\/tr>\n<tr>\n<td width=\"38\">39<\/td>\n<td width=\"565\">zfill (width)<br \/>\nReturns original string leftpadded with zeros to a total of width characters; intended for numbers, zfill() retains any sign given (less one zero).<\/td>\n<\/tr>\n<tr>\n<td width=\"38\">40<\/td>\n<td width=\"565\">isdecimal()<br \/>\nReturns true if a unicode string contains only decimal characters and false otherwise.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>1.10 Python Strings Accessing Values in Strings \u09a8\u09bf\u099a\u09c7\u09b0 \u0995\u09cb\u09a1\u099f\u09bf \u09b2\u0995\u09cd\u09b7\u09cd\u09af \u0995\u09b0\u09bf, #!\/usr\/bin\/python var1 = &#8216;Hello World!&#8217; var2 = &#8220;Python Programming&#8221; print &#8220;var1[0]: &#8220;, var1[0] print &#8220;var2[1:5]: &#8220;, var2[1:5] &nbsp; \u0989\u09aa\u09b0\u09c7\u09b0 \u0995\u09cb\u09a1\u099f\u09bf \u09b0\u09be\u09a8 \u0995\u09b0\u09be\u09b2\u09c7 \u09a8\u09bf\u099a\u09c7\u09b0 \u09ab\u09b2\u09be\u09ab\u09b2 \u09aa\u09cd\u09b0\u09bf\u09a8\u09cd\u099f \u09b9\u09ac\u09c7\u0964 var1[0]:\u00a0 H var2[1:5]:\u00a0 ytho &nbsp; Updating Strings \u0985\u09a8\u09cd\u09af \u098f\u0995\u099f\u09bf \u09b8\u09cd\u099f\u09cd\u09b0\u09bf\u0982 \u098f\u09b0 \u09b8\u09be\u09a5\u09c7 \u0995\u09cb\u09a8 \u09ad\u09c7\u09b0\u09bf\u09df\u09c7\u09ac\u09b2 \u098f\u09b8\u09be\u0987\u09a8 \u0995\u09b0\u09c7 \u098f\u0995\u099f\u09bf \u09b8\u09cd\u099f\u09cd\u09b0\u09bf\u0982 &hellip; <\/p>\n<p><a class=\"more-link btn\" href=\"http:\/\/bangla.sitestree.com\/?p=11097\">Continue reading<\/a><\/p>\n","protected":false},"author":130,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[1613],"tags":[1616,748,1615,407,779],"class_list":["post-11097","post","type-post","status-publish","format-standard","hentry","category-python-complete-courses","tag-python","tag-string","tag-1615","tag-407","tag-779","item-wrap"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":11090,"url":"http:\/\/bangla.sitestree.com\/?p=11090","url_meta":{"origin":11097,"position":0},"title":"\u09aa\u09be\u0987\u09a5\u09a8 \u09aa\u09cd\u09b0\u09cb\u0997\u09cd\u09b0\u09be\u09ae\u09bf\u0982 : \u09b8\u09bf\u09a6\u09cd\u09a7\u09be\u09a8\u09cd\u09a4 \u0997\u09cd\u09b0\u09b9\u09a3 (Python Decision Making)","author":"","date":"October 24, 2015","format":false,"excerpt":"1.7 Python Decision Making Decision Making \u0985\u09b0\u09cd\u09a5\u09be\u09ce \u09b8\u09bf\u09a6\u09cd\u09a7\u09be\u09a8\u09cd\u09a4 \u09a8\u09c7\u09df\u09be\u099f\u09be \u09af\u09c7\u0995\u09cb\u09a8\u09cb \u09aa\u09cd\u09b0\u09cb\u0997\u09cd\u09b0\u09be\u09ae\u09bf\u0982 \u09b2\u09cd\u09af\u09be\u0999\u09cd\u0997\u09c1\u09df\u09c7\u099c \u098f\u09b0 \u098f\u0995\u099f\u09bf \u09aa\u09cd\u09b0\u099a\u09b2\u09bf\u09a4 \u0985\u0982\u09b6, \u09af\u09c7\u0996\u09be\u09a8\u09c7 \u09aa\u09cd\u09b0\u09cb\u0997\u09cd\u09b0\u09be\u09ae\u099f\u09bf \u0995\u09bf\u099b\u09c1 \u09aa\u09cd\u09b0\u09a6\u09a4\u09cd\u09a4 \u09b6\u09b0\u09cd\u09a4\u09c7\u09b0 \u0989\u09aa\u09b0 \u09ad\u09bf\u09a4\u09cd\u09a4\u09bf\u09a4\u09c7 \u0995\u09cb\u09a8 \u098f\u0995\u099f\u09bf \u09aa\u09cd\u09b0\u09cb\u09b8\u09c7\u09b8 \u09b8\u09a4\u09cd\u09af \u09a8\u09be\u0995\u09bf \u09ae\u09bf\u09a5\u09cd\u09af\u09be \u09b8\u09c7\u099f\u09be \u09af\u09be\u099a\u09be\u0987 \u0995\u09b0\u09c7\u0964 \u09aa\u09cd\u09b0\u09be\u09df \u09b8\u09ac \u09aa\u09cd\u09b0\u09cb\u0997\u09cd\u09b0\u09be\u09ae\u09bf\u0982 \u09b2\u09cd\u09af\u09be\u0982\u0997\u09c1\u09df\u09c7\u099c\u09c7\u0987 Decision Making \u098f\u09b0 \u09ac\u09cd\u09af\u09be\u09aa\u09be\u09b0 \u0986\u099b\u09c7\u0964 \u09a8\u09bf\u099a\u09c7\u09b0 \u099a\u09bf\u09a4\u09cd\u09b0\u09c7 Decision Making \u098f\u09b0 \u098f\u0995\u099f\u09be \u09ac\u09cd\u09af\u09be\u09b8\u09bf\u0995 \u09a7\u09be\u09b0\u09a3\u09be \u09a6\u09c7\u09df\u09be\u2026","rel":"","context":"In &quot;Python&quot;","block_context":{"text":"Python","link":"http:\/\/bangla.sitestree.com\/?cat=1613"},"img":{"alt_text":"Decision Making","src":"https:\/\/i0.wp.com\/bangla.salearningschool.com\/wp-content\/uploads\/2015\/10\/Decision-Making.jpg?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":11085,"url":"http:\/\/bangla.sitestree.com\/?p=11085","url_meta":{"origin":11097,"position":1},"title":"\u09aa\u09be\u0987\u09a5\u09a8 \u09aa\u09cd\u09b0\u09cb\u0997\u09cd\u09b0\u09be\u09ae\u09bf\u0982 : \u09ad\u09c7\u09b0\u09bf\u09af\u09bc\u09c7\u09ac\u09b2 \u099f\u09be\u0987\u09aa (Python Variable Types in bangla)","author":"","date":"October 22, 2015","format":false,"excerpt":"1.5 Python Variable Types \u09ad\u09c7\u09b0\u09bf\u09df\u09c7\u09ac\u09b2 \u09b9\u099a\u09cd\u099b\u09c7 \u09ae\u09c7\u09ae\u09cb\u09b0\u09bf \u09a4\u09c7 \u09a8\u09bf\u09b0\u09cd\u09a7\u09be\u09b0\u09bf\u09a4 \u099c\u09be\u09df\u0997\u09be (\u09b8\u09cd\u09aa\u09c7\u09b8) \u09af\u09c7\u0996\u09be\u09a8\u09c7 \u09ac\u09bf\u09ad\u09bf\u09a8\u09cd\u09a8 \u099c\u09bf\u09a8\u09bf\u09b8\u09c7\u09b0 \u09ae\u09be\u09a8 (value) \u09b8\u09cd\u099f\u09cb\u09b0 \u0995\u09b0\u09c7 \u09b0\u09be\u0996\u09be \u09b9\u09df\u0964 \u09ad\u09c7\u09b0\u09bf\u09df\u09c7\u09ac\u09b2 \u09a4\u09c8\u09b0\u09bf \u0995\u09b0\u09be \u09ae\u09be\u09a8\u09c7\u0987 \u0995\u09ae\u09cd\u09aa\u09bf\u0989\u099f\u09be\u09b0\u09c7\u09b0 \u09ae\u09c7\u09ae\u09cb\u09b0\u09bf\u09a4\u09c7 \u098f\u0995\u099f\u09be \u09a8\u09bf\u09b0\u09cd\u09a6\u09c3\u09b7\u09cd\u099f \u09b8\u09cd\u09aa\u09c7\u09b8 \u09b8\u099e\u09cd\u099a\u09df \u0995\u09b0\u09c7 \u09b0\u09be\u0996\u09be\u0964 \u09af\u09c7\u0995\u09cb\u09a8\u09cb \u09ad\u09c7\u09b0\u09bf\u09df\u09c7\u09ac\u09b2 \u0995\u09bf \u09a7\u09b0\u09a8\u09c7\u09b0 \u09a1\u09be\u099f\u09be \u09b0\u09c7\u0995\u09b0\u09cd\u09a1\/ \u09b8\u09cd\u099f\u09cb\u09b0 \u0995\u09b0\u09ac\u09c7 \u09b8\u09c7\u099f\u09be \u09a8\u09bf\u09b0\u09cd\u09ad\u09b0 \u0995\u09b0\u09c7 \u09ad\u09c7\u09b0\u09bf\u09df\u09c7\u09ac\u09b2 \u0989\u09aa\u09b0\u0964 Python \u098f \u09b8\u09ae\u09a4\u09be \u099a\u09bf\u09b9\u09cd\u09a8\u09c7\u09b0 (=)\u2026","rel":"","context":"In &quot;Python&quot;","block_context":{"text":"Python","link":"http:\/\/bangla.sitestree.com\/?cat=1613"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":11099,"url":"http:\/\/bangla.sitestree.com\/?p=11099","url_meta":{"origin":11097,"position":2},"title":"\u09aa\u09be\u0987\u09a5\u09a8 \u09aa\u09cd\u09b0\u09cb\u0997\u09cd\u09b0\u09be\u09ae\u09bf\u0982 : \u09a4\u09be\u09b2\u09bf\u0995\u09be (Python Lists in Bangla)","author":"","date":"October 28, 2015","format":false,"excerpt":"1.11 Python Lists Python \u098f\u09b0 \u09b8\u09ac\u099a\u09c7\u09df\u09c7 \u09ac\u09c7\u09b8\u09bf\u0995 \u09a1\u09be\u099f\u09be \u09b8\u09cd\u099f\u09cd\u09b0\u09be\u0995\u099a\u09be\u09b0 \u09b9\u099a\u09cd\u099b\u09c7 sequence. \u098f\u09b0 \u09aa\u09cd\u09b0\u09a4\u09bf\u099f\u09bf \u0989\u09aa\u09be\u09a6\u09be\u09a8 \u098f\u09b0 \u09b8\u09be\u09a5\u09c7 \u098f\u0995\u099f\u09bf \u09a8\u09be\u09ae\u09cd\u09ac\u09be\u09b0 assign \u0995\u09b0\u09be \u09a5\u09be\u0995\u09c7, \u09af\u09be \u098f\u09b0 \u0985\u09ac\u09b8\u09cd\u09a5\u09be\u09a8\/ \u0987\u09a8\u09cd\u09a1\u09c7\u0995\u09cd\u09b8 \u09a8\u09bf\u09b0\u09cd\u09a6\u09c7\u09b6 \u0995\u09b0\u09c7\u0964 \u09b8\u09b0\u09cd\u09ac \u09aa\u09cd\u09b0\u09a5\u09ae \u0987\u09a8\u09cd\u09a1\u09c7\u0995\u09cd\u09b8 \u09b9\u099a\u09cd\u099b\u09c7 \u09e6, \u09a4\u09be\u09b0\u09aa\u09b0\u09c7\u09b0\u099f\u09be \u09e7, \u09a4\u09be\u09b0\u09aa\u09b0\u09c7\u09b0\u099f\u09be \u09e8... \u0987\u09a4\u09cd\u09af\u09be\u09a6\u09bf ! Python \u098f \u09ec \u09a7\u09b0\u09a8\u09c7\u09b0 built-in sequence \u0986\u099b\u09c7, \u09a4\u09be\u09a6\u09c7\u09b0 \u09ae\u09a7\u09cd\u09af\u09c7 \u09b8\u09ac\u099a\u09c7\u09df\u09c7 \u09aa\u09cd\u09b0\u099a\u09b2\u09bf\u09a4 \u09b9\u099a\u09cd\u099b\u09c7\u2026","rel":"","context":"In &quot;Python&quot;","block_context":{"text":"Python","link":"http:\/\/bangla.sitestree.com\/?cat=1613"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":11166,"url":"http:\/\/bangla.sitestree.com\/?p=11166","url_meta":{"origin":11097,"position":3},"title":"C \u098f\u09b0 \u09b8\u09be\u09a5\u09c7 Python \u09aa\u09cd\u09b0\u09cb\u0997\u09cd\u09b0\u09be\u09ae\u09bf\u0982 \u098f\u0995\u09cd\u09b8\u099f\u09c7\u09a8\u09b6\u09a8 (Python Extension Programming with C)","author":"","date":"October 31, 2015","format":false,"excerpt":"C \u098f\u09b0 \u09b8\u09be\u09a5\u09c7 Python \u09aa\u09cd\u09b0\u09cb\u0997\u09cd\u09b0\u09be\u09ae\u09bf\u0982 \u098f\u0995\u09cd\u09b8\u099f\u09c7\u09a8\u09b6\u09a8 C, C++ \u0985\u09a5\u09ac\u09be Java \u09aa\u09cd\u09b0\u09cb\u0997\u09cd\u09b0\u09be\u09ae\u09bf\u0982 \u098f\u09b0 \u09af\u09c7\u0995\u09cb\u09a8 \u0995\u09cb\u09a1 Python script \u098f\u09b0 \u09b8\u09be\u09a5\u09c7 \u0987\u09a8\u09cd\u099f\u09c7\u0997\u09cd\u09b0\u09c7\u099f\/ \u09b0\u09c2\u09aa\u09be\u09a8\u09cd\u09a4\u09b0 \u0995\u09b0\u09be \u09af\u09be\u09df, \u09af\u09be\u0995\u09c7 Python \u098f\u0995\u09cd\u09b8\u099f\u09c7\u09a8\u09b6\u09a8 \u09ac\u09b2\u09c7\u0964 Python \u098f\u0995\u09cd\u09b8\u099f\u09c7\u09a8\u09b6\u09a8 \u09ab\u09be\u0987\u09b2\u0997\u09c1\u09b2\u09cb \u09b8\u09cd\u09ac\u09be\u09ad\u09be\u09ac\u09bf\u0995 C \u09b2\u09be\u0987\u09ac\u09cd\u09b0\u09c7\u09b0\u09c0\u09b0 \u09ae\u09a4, Unix \u0985\u09aa\u09be\u09b0\u09c7\u099f\u09bf\u0982 \u09b8\u09bf\u09b8\u09cd\u099f\u09c7\u09ae \u098f\u00a0.so\u00a0\u09ab\u09b0\u09ae\u09cd\u09af\u09be\u099f \u0993 Windows \u09ae\u09c7\u09b6\u09bf\u09a8\u09c7.dll\u00a0\u09ab\u09b0\u09ae\u09cd\u09af\u09be\u099f\u09c7\u09b0 \u09b9\u09df\u0964 \u00a0 \u098f\u0995\u09cd\u09b8\u099f\u09c7\u09a8\u09b6\u09a8 \u09b2\u09c7\u0996\u09be\u09b0 \u09aa\u09c2\u09b0\u09cd\u09ac\u09b6\u09b0\u09cd\u09a4 Python \u098f\u0995\u09cd\u09b8\u099f\u09c7\u09a8\u09b6\u09a8 \u09b2\u09bf\u0996\u09a4\u09c7 \u09b9\u09b2\u09c7 Python\u2026","rel":"","context":"In &quot;Python&quot;","block_context":{"text":"Python","link":"http:\/\/bangla.sitestree.com\/?cat=1613"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":11095,"url":"http:\/\/bangla.sitestree.com\/?p=11095","url_meta":{"origin":11097,"position":4},"title":"\u09aa\u09be\u0987\u09a5\u09a8 \u09aa\u09cd\u09b0\u09cb\u0997\u09cd\u09b0\u09be\u09ae\u09bf\u0982 : \u09a8\u09be\u09ae\u09cd\u09ac\u09be\u09b0 (Python Numbers in bangla)","author":"","date":"October 26, 2015","format":false,"excerpt":"1.9 Python Numbers Number \u09a1\u09be\u099f\u09be \u099f\u09be\u0987\u09aa\u09c7\u09b0 \u09b8\u09be\u09b9\u09be\u09af\u09cd\u09af\u09c7 \u09b8\u0982\u0996\u09cd\u09af\u09be \u09b8\u09cd\u099f\u09cb\u09b0 \u0995\u09b0\u09be \u09af\u09be\u09df\u0964 \u09af\u0996\u09a8\u0987 \u098f\u0995\u099f\u09bf number \u09a1\u09be\u099f\u09be \u099f\u09be\u0987\u09aa\u09c7\u09b0 \u09ae\u09be\u09a8 \u09aa\u09b0\u09bf\u09ac\u09b0\u09cd\u09a4\u09a8 \u0995\u09b0\u09be \u09b9\u09ac\u09c7 \u09a4\u0996\u09a8 \u098f\u0995\u099f\u09bf \u09a8\u09a4\u09c1\u09a8 \u0985\u09ac\u099c\u09c7\u0995\u09cd\u099f \u09a4\u09c8\u09b0\u09bf \u09b9\u09ac\u09c7\u0964 var1 = 1 var2 = 10 \u00a0 del statement \u098f\u09b0 \u09b8\u09be\u09b9\u09be\u09af\u09cd\u09af\u09c7 number \u0985\u09ac\u099c\u09c7\u0995\u09cd\u099f\u09c7\u09b0 \u09b0\u09c7\u09ab\u09be\u09b0\u09c7\u09a8\u09cd\u09b8 \u09a1\u09bf\u09b2\u09c7\u099f \u0995\u09b0\u09be \u09af\u09be\u09df\u0964 \u09af\u09c7\u09ae\u09a8, del var1[,var2[,var3[....,varN]]]] \u00a0 del\u00a0statement \u098f\u09b0 \u09b8\u09be\u09b9\u09be\u09af\u09cd\u09af\u09c7\u2026","rel":"","context":"In &quot;Python&quot;","block_context":{"text":"Python","link":"http:\/\/bangla.sitestree.com\/?cat=1613"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":9620,"url":"http:\/\/bangla.sitestree.com\/?p=9620","url_meta":{"origin":11097,"position":5},"title":"\u0987\u0989\u09a8\u09bf\u0995\u09cd\u09b8\u0983 \u09b8\u09c7\u09b2 \u09ad\u09c7\u09b0\u09bf\u09df\u09c7\u09ac\u09b2 \u09ac\u09be \u099a\u09b2\u0995 \u09ac\u09cd\u09af\u09ac\u09b9\u09be\u09b0 \u0995\u09b0\u09be (Unix &#8211; Using Shell Variables)","author":"Author-Check- Article-or-Video","date":"July 3, 2015","format":false,"excerpt":"\u09b0\u09bf\u09a6\u0993\u09df\u09be\u09a8 \u09ac\u09bf\u09a8 \u09b6\u09be\u09ae\u09c0\u09ae \u00a0 \u09ad\u09c7\u09b0\u09bf\u09df\u09c7\u09ac\u09b2 \u09ac\u09be \u099a\u09b2\u0995 \u098f\u0995\u09aa\u09cd\u09b0\u0995\u09be\u09b0\u09c7\u09b0 \u0995\u09cd\u09af\u09be\u09b0\u09c7\u0995\u09cd\u099f\u09be\u09b0 \u09b8\u09cd\u099f\u09cd\u09b0\u09bf\u0982 \u09af\u09c7\u099f\u09bf\u09a4\u09c7 \u0986\u09ae\u09b0\u09be \u09ae\u09be\u09a8 \u0986\u09b0\u09cb\u09aa \u0995\u09b0\u09bf\u0964 \u098f\u0987 \u09ae\u09be\u09a8 \u09b8\u0982\u0996\u09cd\u09af\u09be, \u099f\u09c7\u0995\u09cd\u09b8\u099f, \u09ab\u09be\u0987\u09b2\u09a8\u09c7\u09ae, \u09a1\u09bf\u09ad\u09be\u0987\u09b8 \u09ac\u09be \u09af\u09c7\u0995\u09cb\u09a8\u09cb \u09a1\u09be\u099f\u09be\u0993 \u09b9\u09a4\u09c7 \u09aa\u09be\u09b0\u09c7\u0964 \u099a\u09b2\u0995 \u0986\u09b8\u09b2\u09c7 \u09ae\u09c2\u09b2 \u09a1\u09be\u099f\u09be\u09b0 \u09a8\u09bf\u09b0\u09cd\u09a6\u09c7\u09b6\u0995 \u09ac\u0987 \u0995\u09bf\u099b\u09c1 \u09a8\u09df\u0964 \u00a0 \u099a\u09b2\u0995\u09c7\u09b0 \u09a8\u09be\u09ae \u099a\u09b2\u0995\u09c7\u09b0 \u09a8\u09be\u09ae \u0985\u0995\u09cd\u09b7\u09b0, \u09b8\u0982\u0996\u09cd\u09af\u09be \u09ac\u09be \u0986\u09a8\u09cd\u09a1\u09be\u09b0\u09b8\u09cd\u0995\u09cb\u09b0 \u09ac\u09bf\u09b6\u09bf\u09b7\u09cd\u099f \u09b9\u09a4\u09c7 \u09aa\u09be\u09b0\u09c7\u0964 \u0987\u0989\u09a8\u09bf\u0995\u09cd\u09b8 \u09b8\u09c7\u09b2 \u099a\u09b2\u0995\u09c7\u09b0 \u09a8\u09be\u09ae\u2026","rel":"","context":"In &quot;\u09b2\u09bf\u09a8\u09be\u0995\u09cd\u09b8 \u098f\u09ac\u0982 \u0989\u09a8\u09bf\u0995\u09cd\u09b8 \u0964 Linux and Unix&quot;","block_context":{"text":"\u09b2\u09bf\u09a8\u09be\u0995\u09cd\u09b8 \u098f\u09ac\u0982 \u0989\u09a8\u09bf\u0995\u09cd\u09b8 \u0964 Linux and Unix","link":"http:\/\/bangla.sitestree.com\/?cat=1231"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/posts\/11097","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/users\/130"}],"replies":[{"embeddable":true,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=11097"}],"version-history":[{"count":4,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/posts\/11097\/revisions"}],"predecessor-version":[{"id":11118,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/posts\/11097\/revisions\/11118"}],"wp:attachment":[{"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=11097"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=11097"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=11097"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}