Telegram Group & Telegram Channel
Моржовый оператор – примеры

В предыдущем посте мы обсудили синтаксис нового оператора присваивания. В чате появилось достаточное количество просьб продолжить, поэтому в этом посте мы рассмотрим частные случаи, когда морж в коде выглядит солидно.

Но для начала стоит отметить ещё один важный момент – моржовый оператор не создаёт новую область видимости. То есть переменная, созданная в условии конструкции if-else с помощью моржа, также будет доступна и за пределом блока.

#тонкости



tg-me.com/python_academy/84
Create:
Last Update:

Моржовый оператор – примеры

В предыдущем посте мы обсудили синтаксис нового оператора присваивания. В чате появилось достаточное количество просьб продолжить, поэтому в этом посте мы рассмотрим частные случаи, когда морж в коде выглядит солидно.

Но для начала стоит отметить ещё один важный момент – моржовый оператор не создаёт новую область видимости. То есть переменная, созданная в условии конструкции if-else с помощью моржа, также будет доступна и за пределом блока.

#тонкости

BY Python Academy




Share with your friend now:
tg-me.com/python_academy/84

View MORE
Open in Telegram


Python Academy Telegram | DID YOU KNOW?

Date: |

How Does Telegram Make Money?

Telegram is a free app and runs on donations. According to a blog on the telegram: We believe in fast and secure messaging that is also 100% free. Pavel Durov, who shares our vision, supplied Telegram with a generous donation, so we have quite enough money for the time being. If Telegram runs out, we will introduce non-essential paid options to support the infrastructure and finance developer salaries. But making profits will never be an end-goal for Telegram.

The SSE was the first modern stock exchange to open in China, with trading commencing in 1990. It has now grown to become the largest stock exchange in Asia and the third-largest in the world by market capitalization, which stood at RMB 50.6 trillion (US$7.8 trillion) as of September 2021. Stocks (both A-shares and B-shares), bonds, funds, and derivatives are traded on the exchange. The SEE has two trading boards, the Main Board and the Science and Technology Innovation Board, the latter more commonly known as the STAR Market. The Main Board mainly hosts large, well-established Chinese companies and lists both A-shares and B-shares.

Python Academy from id


Telegram Python Academy
FROM USA