____  ___    _  _     _   _ _____     _______
 / ___|/ _ \  | || |   | | | |_ _\ \   / / ____|
| |  _| | | | | || |_  | |_| || | \ \ / /|  _|
| |_| | |_| | |__   _| |  _  || |  \ V / | |___
 \____|\___/     |_|   |_| |_|___|  \_/  |_____|

 --- A GOPHER-LIKE INTERFACE FOR HIVE BLOCKCHAIN ---

Welcome to the interactive Python tutorial#2(Hello, World!)

BY: @steemit-review | CREATED: Sept. 3, 2018, 7:43 a.m. | VOTES: 2 | PAYOUT: $0.00 | [ VOTE ]

[IMAGE: https://cdn.steemitimages.com/DQmT1x6DFKRtHt4dpCv6BnuP66ifZGZ9ZC7V7F8n2TGVhXW/Python-Tutorial-%E2%80%93-Part-2.png]

Hello, World!

Python may be a terribly easy language, and contains a terribly simple syntax. It encourages programmers to program while not boilerplate (prepared) code. the best directive in Python is that the print directive - it merely prints out a line (and conjointly includes a newline, in contrast to in C).

There are 2 major Python versions, Python a pair of and Python three. Python a pair of and three ar quite totally different. This tutorial uses Python three, as a result of it a lot of semantically correct and supports newer options.

For example, one distinction between Python a pair of and three is that the print statement. In Python a pair of, the print statement isn't a perform, and so it's invoked while not parentheses. However, in Python three, it's a perform, and should be invoked with parentheses.

To print a string in Python three, simply write:

[IMAGE: https://cdn.steemitimages.com/DQmS58o2Jfprys6b4zKmM4RcnWJ6Nf7GjL2WZ56rNE1myyd/Screenshot_2018-09-03%20Hello,%20World%20-%20Learn%20Python%20-%20Free%20Interactive%20Python%20Tutorial.png]

Indentation

Python uses indentation for blocks, rather than kinky braces. each tabs and areas ar supported, however commonplace|the quality} indentation needs standard Python code to use four areas. For example:
[IMAGE: https://cdn.steemitimages.com/DQmXS7NKseBGjiWHs84tKAd5y2qZzeeQCTJJTzjqJ39s4ms/Screenshot_2018-09-03%20Hello,%20World%20-%20Learn%20Python%20-%20Free%20Interactive%20Python%20Tutorial(1).png]

TAGS: [ #python ] [ #teach ] [ #news ] [ #programming ]

Replies

@ilovecoding | Sept. 3, 2018, 7:43 a.m. | Votes: 1 | [ VOTE ]

Hello! Your post has been resteemed and upvoted by @ilovecoding because we love coding! Keep up good work! Consider upvoting this comment to support the @ilovecoding and increase your future rewards! ^_^ Steem On!
[IMAGE: https://codingforspeed.com/images/i-love-coding.jpg]
Reply !stop to disable the comment. Thanks!

@steemitboard | April 5, 2019, 7:21 a.m. | Votes: 0 | [ VOTE ]

Congratulations @steemit-review! You received a personal award!

https://steemitimages.com/70x70/http://steemitboard.com/@steemit-review/birthday1.pngHappy Birthday! - You are on the Steem blockchain for 1 year!

You can view your badges on your Steem Board and compare to others on the Steem Ranking

Do not miss the last post from @steemitboard:

The Steem blockchain survived its first virus plague!

Vote for @Steemitboard as a witness to get one more award and increased upvotes!
[ BACK TO TRENDING ] [ BACK TO MENU ]
CMD>