Warning: The magic method Slickr_Flickr_Plugin::__wakeup() must have public visibility in /home/kenbauer/public_kenscourses/tc101fall2015/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/tc101fall2015/wp-content/plugins/slickr-flickr/classes/class-plugin.php:152) in /home/kenbauer/public_kenscourses/tc101fall2015/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/tc101fall2015/wp-content/plugins/slickr-flickr/classes/class-plugin.php:152) in /home/kenbauer/public_kenscourses/tc101fall2015/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/tc101fall2015/wp-content/plugins/slickr-flickr/classes/class-plugin.php:152) in /home/kenbauer/public_kenscourses/tc101fall2015/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/tc101fall2015/wp-content/plugins/slickr-flickr/classes/class-plugin.php:152) in /home/kenbauer/public_kenscourses/tc101fall2015/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/tc101fall2015/wp-content/plugins/slickr-flickr/classes/class-plugin.php:152) in /home/kenbauer/public_kenscourses/tc101fall2015/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/tc101fall2015/wp-content/plugins/slickr-flickr/classes/class-plugin.php:152) in /home/kenbauer/public_kenscourses/tc101fall2015/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/tc101fall2015/wp-content/plugins/slickr-flickr/classes/class-plugin.php:152) in /home/kenbauer/public_kenscourses/tc101fall2015/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/tc101fall2015/wp-content/plugins/slickr-flickr/classes/class-plugin.php:152) in /home/kenbauer/public_kenscourses/tc101fall2015/wp-includes/rest-api/class-wp-rest-server.php on line 1831
{"id":22315,"date":"2015-09-18T12:06:00","date_gmt":"2015-09-18T17:06:00","guid":{"rendered":"http:\/\/kenscourses.com\/tc101fall2015\/?guid=c9982d1998fb957b658eab0ad6b30bde"},"modified":"2015-09-18T12:06:58","modified_gmt":"2015-09-18T17:06:58","slug":"basic-output","status":"publish","type":"post","link":"https:\/\/kenscourses.com\/tc101fall2015\/2015\/basic-output\/","title":{"rendered":"Basic Output"},"content":{"rendered":"

<\/span><\/span><\/div>\n
     Output is defined as what the program gives away as a result. This is a text that will be displayed in your screen during the running of your program. For printing your output on Python 3 we use:<\/o:p><\/span><\/span><\/div>\n

<\/span><\/span><\/div>\n
print( )<\/span><\/o:p><\/span><\/span><\/div>\n

<\/span><\/span><\/div>\n
     Inside the parenthesis is where you type the text that you would like to be displayed. This can be a string, a variable, or both.<\/o:p><\/span><\/span><\/div>\n

<\/span><\/span><\/div>\n
      To print a string, which is an extract of text typed by the programmer, it is necessary to place it between quotation marks. Otherwise, you will receive a message saying you have a Syntax Error. In this example, the text displayed in the screen will be: <\/span>Hello World!<\/span><\/o:p><\/span><\/span><\/div>\n

<\/span><\/span><\/div>\n
print(\u201cHello World!\u201d)<\/span><\/o:p><\/span><\/span><\/div>\n

<\/span><\/span><\/div>\n
       For printing a variable, you need to place the name of the variable between the parentheses without using any quotation marks. Otherwise, you will be printing text. Also, you can create some mathematical operations between the parenthesis and the output will be the result of those operations. For example, the text displayed in the screen when running this program will be: <\/span>12<\/span><\/o:p><\/span><\/span><\/div>\n

<\/span><\/span><\/div>\n
X = 5<\/o:p><\/span><\/span><\/div>\n
Y = 7<\/o:p><\/span><\/span><\/div>\n
Print(x+y)<\/span><\/o:p><\/span><\/span><\/div>\n

<\/span><\/span><\/div>\n
      You can also print string variables by the same method<\/o:p><\/span><\/span><\/div>\n

<\/span><\/span><\/div>\n
       For printing plain text and the value of a variable. It is necessary to place the text between quotation marks. The text and the variable need to be separated by a comma. For example, the following program will print: Hi, Laura!<\/o:p><\/span><\/span><\/div>\n

<\/span><\/span><\/div>\n
Name= Laura<\/o:p><\/span><\/span><\/div>\n
Print(\u201cHi,\u201d, name, \u201c!\u201d)<\/span><\/o:p><\/span><\/span><\/div>\n
<\/div>\n
      This other program will print: <\/span>The sum of 5 + 7 equals to 12<\/span><\/o:p><\/span><\/span><\/div>\n

<\/span><\/span><\/div>\n
X=5<\/o:p><\/span><\/span><\/div>\n
Y=7<\/o:p><\/span><\/span><\/div>\n

<\/p>\n

Print(\u201cThe sum of\u201d, x, \u201c+\u201d, y, \u201cequals to\u201d, (x+y))<\/span><\/o:p><\/span><\/div>\n","protected":false},"excerpt":{"rendered":"

<\/span><\/span><\/div>\n
     Output is defined as what the program gives away as a result. This is a text that will be displayed in your screen during the running of your program. For printing your output on Python 3 we use:<\/p>\n

<\/span><\/span><\/div>\n


<\/span><\/span><\/div>\n
print( )<\/span><\/p>\n

<\/span><\/span><\/div>\n


<\/span><\/span><\/div>\n
     Inside the parenthesis is where you type the text that you would like to be displayed. This can be a string, a variable, or both.<\/p>\n

<\/span><\/span><\/div>\n


<\/span><\/span><\/div>\n
      To print a string, which is an extract of text typed by the programmer, it is necessary to place it between quotation marks. Otherwise, you will receive a message saying you have a Syntax Error. In this example, the text displayed in the screen will be: <\/span>Hello World!<\/span><\/p>\n

<\/span><\/span><\/div>\n


<\/span><\/span><\/div>\n
print(“Hello World!”)<\/span><\/p>\n

<\/span><\/span><\/div>\n


<\/span><\/span><\/div>\n
       For printing a variable, you need to place the name of the variable between the parentheses without using any quotation marks. Otherwise, you will be printing text. Also, you can create some mathematical operations between the parenthesis and the output will be the result of those operations. For example, the text displayed in the screen when running this program will be: <\/span>12<\/span><\/p>\n

<\/span><\/span><\/div>\n


<\/span><\/span><\/div>\n
X = 5<\/p>\n

<\/span><\/span><\/div>\n

Y = 7<\/p>\n

<\/span><\/span><\/div>\n

Print(x+y)<\/span><\/p>\n

<\/span><\/span><\/div>\n


<\/span><\/span><\/div>\n
      You can also print string variables by the same method<\/p>\n

<\/span><\/span><\/div>\n


<\/span><\/span><\/div>\n
       For printing plain text and the value of a variable. It is necessary to place the text between quotation marks. The text and the variable need to be separated by a comma. For example, the following program will print: Hi, Laura!<\/p>\n

<\/span><\/span><\/div>\n


<\/span><\/span><\/div>\n
Name= Laura<\/p>\n

<\/span><\/span><\/div>\n

Print(“Hi,”, name, “!”)<\/span><\/p>\n

<\/span><\/span><\/div>\n

<\/div>\n
      This other program will print: <\/span>The sum of 5 + 7 equals to 12<\/span><\/p>\n

<\/span><\/span><\/div>\n


<\/span><\/span><\/div>\n
X=5<\/p>\n

<\/span><\/span><\/div>\n

Y=7<\/p>\n

<\/span><\/span><\/div>\n

<\/p>\n

Print(“The sum of”, x, “+”, y, “equals to”, (x+y))<\/span><\/p>\n

<\/span><\/div>\n","protected":false},"author":296,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,3],"tags":[79],"_links":{"self":[{"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/posts\/22315"}],"collection":[{"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/users\/296"}],"replies":[{"embeddable":true,"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/comments?post=22315"}],"version-history":[{"count":1,"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/posts\/22315\/revisions"}],"predecessor-version":[{"id":22316,"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/posts\/22315\/revisions\/22316"}],"wp:attachment":[{"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/media?parent=22315"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/categories?post=22315"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/tags?post=22315"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}