PYTHONCHALLENGE Telegram 1652
#مقدماتی_پایتون

✍️In_Place Operators
📌 به مثال زیر توجه کنید:
>>> x = 2
>>> print(x)
2
>>> x += 3
>>> print(x)
5

در این مثال علاوه بر + می توان «-، *، \» قرار داد.

❗️این قضیه علاوه بر متغیر های از نوع int، برای متغیرهای از نوع string نیز قابل تعمیم است :
>>> x = "spam"
>>> print(x)
spam

>>> x += "eggs"
>>> print(x)
spameggs


بعد مطالعه متن فوق به سوال زیر لطفا پاسخ بدهید:

🗂 مرکز آموزش پایتون

🆔 : @pythonchallenge
👍2



tgoop.com/pythonchallenge/1652
Create:
Last Update:

#مقدماتی_پایتون

✍️In_Place Operators
📌 به مثال زیر توجه کنید:

>>> x = 2
>>> print(x)
2
>>> x += 3
>>> print(x)
5

در این مثال علاوه بر + می توان «-، *، \» قرار داد.

❗️این قضیه علاوه بر متغیر های از نوع int، برای متغیرهای از نوع string نیز قابل تعمیم است :
>>> x = "spam"
>>> print(x)
spam

>>> x += "eggs"
>>> print(x)
spameggs


بعد مطالعه متن فوق به سوال زیر لطفا پاسخ بدهید:

🗂 مرکز آموزش پایتون

🆔 : @pythonchallenge

BY چالش پایتون


Share with your friend now:
tgoop.com/pythonchallenge/1652

View MORE
Open in Telegram


Telegram News

Date: |

Choose quality over quantity. Remember that one high-quality post is better than five short publications of questionable value. Invite up to 200 users from your contacts to join your channel Ng Man-ho, a 27-year-old computer technician, was convicted last month of seven counts of incitement charges after he made use of the 100,000-member Chinese-language channel that he runs and manages to post "seditious messages," which had been shut down since August 2020. Hashtags are a fast way to find the correct information on social media. To put your content out there, be sure to add hashtags to each post. We have two intelligent tips to give you: ‘Ban’ on Telegram
from us


Telegram چالش پایتون
FROM American