К содержанию
РецензированоUZ2015

Get started with Python

Richmond Hill

Учебная литература · 2015

Аннотация

Our Hello World program is very simple, it only needs two lines. The fi rst line begins with a ‘shebang’ (the symbol #! – also known as a hashbang) followed by the path to the Python interpreter. The program loader uses this line to work out what the rest of the lines need to be interpreted with. If you’re running this in an IDE like IDLE, you don’t necessarily need to do this. The code that is actually read by the Python interpreter is only a single line. We’re passing the value Hello World to the print function by placing it in brackets immediately after we’ve called the print function. Hello World is enclosed in quotation marks to indicate that it is a literal value and should not be interpreted as source code. As expected, the print function in Python prints any value that gets passed to it from the console

Доказательный фрагмент

«Our Hello World program is very simple, it only needs two lines.»

Образец извлечения

Демо-превью

Our Hello World program is very simple, it only needs two lines. Полный текст публикации CiteX не хранит — доступ к первоисточнику открывается по DOI согласно лицензии издателя и выбранному плану.

DOI не указан
Цитирований
0
Тип
Журнал
Страна
Узбекистан
Спросить CiteX об этой работе

Смежные источники