Warning: The magic method Slickr_Flickr_Plugin::__wakeup() must have public visibility in /home/kenbauer/public_kenscourses/tc101winter2015/wp-content/plugins/slickr-flickr/classes/class-plugin.php on line 152

Warning: Cannot modify header information - headers already sent by (output started at /home/kenbauer/public_kenscourses/tc101winter2015/wp-content/plugins/slickr-flickr/classes/class-plugin.php:152) in /home/kenbauer/public_kenscourses/tc101winter2015/wp-includes/rest-api/class-wp-rest-server.php on line 1831

Warning: Cannot modify header information - headers already sent by (output started at /home/kenbauer/public_kenscourses/tc101winter2015/wp-content/plugins/slickr-flickr/classes/class-plugin.php:152) in /home/kenbauer/public_kenscourses/tc101winter2015/wp-includes/rest-api/class-wp-rest-server.php on line 1831

Warning: Cannot modify header information - headers already sent by (output started at /home/kenbauer/public_kenscourses/tc101winter2015/wp-content/plugins/slickr-flickr/classes/class-plugin.php:152) in /home/kenbauer/public_kenscourses/tc101winter2015/wp-includes/rest-api/class-wp-rest-server.php on line 1831

Warning: Cannot modify header information - headers already sent by (output started at /home/kenbauer/public_kenscourses/tc101winter2015/wp-content/plugins/slickr-flickr/classes/class-plugin.php:152) in /home/kenbauer/public_kenscourses/tc101winter2015/wp-includes/rest-api/class-wp-rest-server.php on line 1831

Warning: Cannot modify header information - headers already sent by (output started at /home/kenbauer/public_kenscourses/tc101winter2015/wp-content/plugins/slickr-flickr/classes/class-plugin.php:152) in /home/kenbauer/public_kenscourses/tc101winter2015/wp-includes/rest-api/class-wp-rest-server.php on line 1831

Warning: Cannot modify header information - headers already sent by (output started at /home/kenbauer/public_kenscourses/tc101winter2015/wp-content/plugins/slickr-flickr/classes/class-plugin.php:152) in /home/kenbauer/public_kenscourses/tc101winter2015/wp-includes/rest-api/class-wp-rest-server.php on line 1831

Warning: Cannot modify header information - headers already sent by (output started at /home/kenbauer/public_kenscourses/tc101winter2015/wp-content/plugins/slickr-flickr/classes/class-plugin.php:152) in /home/kenbauer/public_kenscourses/tc101winter2015/wp-includes/rest-api/class-wp-rest-server.php on line 1831

Warning: Cannot modify header information - headers already sent by (output started at /home/kenbauer/public_kenscourses/tc101winter2015/wp-content/plugins/slickr-flickr/classes/class-plugin.php:152) in /home/kenbauer/public_kenscourses/tc101winter2015/wp-includes/rest-api/class-wp-rest-server.php on line 1831
{"id":11135,"date":"2015-04-19T16:20:17","date_gmt":"2015-04-19T21:20:17","guid":{"rendered":"https:\/\/efrainduarte95.withknown.com\/2015\/mastery-26-creation-and-use-of-strings"},"modified":"2015-04-19T16:20:17","modified_gmt":"2015-04-19T21:20:17","slug":"mastery-26-creation-and-use-of-strings-2","status":"publish","type":"post","link":"https:\/\/kenscourses.com\/tc101winter2015\/2015\/mastery-26-creation-and-use-of-strings-2\/","title":{"rendered":"Mastery 26 Creation and use of strings"},"content":{"rendered":"
\n

#TC1014<\/a> #Mastery26<\/a><\/p>\n

In this mastery I will write about strings.What are strings? Strings are characters that are enclosing in quotes. As simple as this:<\/p>\n

st1= “Hello World”<\/p>\n

we can do many operations with strings beginig with print that maybe is the most use it.<\/p>\n

we can know the lenght of our string using the len() statement like this:<\/p>\n

1.-print len(st1)—> this will give us an 11, because the string has 11 characters including spaces<\/p>\n

 Another operation with strings is performed by the index staement like this:<\/p>\n

2.-print st1.index(“o”)—>this will give us a 4, because the letter tell us to where<\/span> we will count, star of 0.<\/span><\/span><\/p>\n

other is this one<\/span><\/span><\/p>\n

3.- print st1[1:3]—>this will give us “el” starting countig from 0 and end in the position 2, like I say in the last post of range, that mean stop that will stop in (stop-1)<\/span><\/span><\/p>\n

 <\/p>\n

Another interesting functions are the following:<\/p>\n

4.-print string1.upper()
5.-print string1.lower()<\/p>\n

Which will print a new string with all letters converted to uppercase and lowercase respectively.<\/p>\n

Also we can create a new string with other string but different, what I mean? just like this:<\/p>\n

st1 = “Hello World”<\/p>\n

print st1[:6] + “python”—–>this will give us “hello python”.<\/p>\n

In this link you can found more operations and information about strings: http:\/<\/wbr>\/<\/wbr>www.tutorialspoint.com\/<\/wbr>python\/<\/wbr>python_strings.htm<\/a><\/p>\n

 <\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"

#TC1014 #Mastery26In this mastery I will write about strings.What are strings? Strings are characters that are enclosing in quotes. As simple as this:st1= “Hello World”we can do many operations with strings beginig with print that maybe is the… Continue reading →<\/span><\/a><\/p>\n","protected":false},"author":19,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,3,25],"tags":[243,45],"_links":{"self":[{"href":"https:\/\/kenscourses.com\/tc101winter2015\/wp-json\/wp\/v2\/posts\/11135"}],"collection":[{"href":"https:\/\/kenscourses.com\/tc101winter2015\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kenscourses.com\/tc101winter2015\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kenscourses.com\/tc101winter2015\/wp-json\/wp\/v2\/users\/19"}],"replies":[{"embeddable":true,"href":"https:\/\/kenscourses.com\/tc101winter2015\/wp-json\/wp\/v2\/comments?post=11135"}],"version-history":[{"count":6,"href":"https:\/\/kenscourses.com\/tc101winter2015\/wp-json\/wp\/v2\/posts\/11135\/revisions"}],"predecessor-version":[{"id":19094,"href":"https:\/\/kenscourses.com\/tc101winter2015\/wp-json\/wp\/v2\/posts\/11135\/revisions\/19094"}],"wp:attachment":[{"href":"https:\/\/kenscourses.com\/tc101winter2015\/wp-json\/wp\/v2\/media?parent=11135"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kenscourses.com\/tc101winter2015\/wp-json\/wp\/v2\/categories?post=11135"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kenscourses.com\/tc101winter2015\/wp-json\/wp\/v2\/tags?post=11135"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}