QUIZ_PYTHON Telegram 3900
/ (косая черта) обозначает только позиционные параметры. Аргументы перед ней должны передаваться позиционно и не могут использоваться как ключевые аргументы.

Когда мы вызываем:


print(greet("Alice"))


происходит следующее:

— "Alice" передается как позиционный аргумент name.
— greeting не передан явно, поэтому используется значение по умолчанию "Hello".
— Формируется строка: "Hello, Alice!"
😐3🤯1



tgoop.com/quiz_python/3900
Create:
Last Update:

/ (косая черта) обозначает только позиционные параметры. Аргументы перед ней должны передаваться позиционно и не могут использоваться как ключевые аргументы.

Когда мы вызываем:


print(greet("Alice"))


происходит следующее:

— "Alice" передается как позиционный аргумент name.
— greeting не передан явно, поэтому используется значение по умолчанию "Hello".
— Формируется строка: "Hello, Alice!"

BY Python: задачки и вопросы


Share with your friend now:
tgoop.com/quiz_python/3900

View MORE
Open in Telegram


Telegram News

Date: |

In the “Bear Market Screaming Therapy Group” on Telegram, members are only allowed to post voice notes of themselves screaming. Anything else will result in an instant ban from the group, which currently has about 75 members. Add up to 50 administrators The administrator of a telegram group, "Suck Channel," was sentenced to six years and six months in prison for seven counts of incitement yesterday. Commenting about the court's concerns about the spread of false information related to the elections, Minister Fachin noted Brazil is "facing circumstances that could put Brazil's democracy at risk." During the meeting, the information technology secretary at the TSE, Julio Valente, put forward a list of requests the court believes will disinformation. Avoid compound hashtags that consist of several words. If you have a hashtag like #marketingnewsinusa, split it into smaller hashtags: “#marketing, #news, #usa.
from us


Telegram Python: задачки и вопросы
FROM American