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

✍️متغیر ها - (قسمت دوم)

متغیر ها چندین بار می توانند مقدار دهی شود. در پایتون، متغیر ها دارای نوع خاصی نیستند. بنابراین می توانید الان یک مقدار string به یک متغیر بدهید و دفعه ی بعد یک مقدار int به همان متغیر منتصب کنید.

>>> x = 123.456
>>> print(x)
123.456
>>> x = “this is a string”
>>> print (x + “!”)
this is a string!


📌به هر حال این کار پیشنهاد نمی شود.


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

🆔 : @pythonchallenge
👍1



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

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

✍️متغیر ها - (قسمت دوم)

متغیر ها چندین بار می توانند مقدار دهی شود. در پایتون، متغیر ها دارای نوع خاصی نیستند. بنابراین می توانید الان یک مقدار string به یک متغیر بدهید و دفعه ی بعد یک مقدار int به همان متغیر منتصب کنید.

>>> x = 123.456
>>> print(x)
123.456
>>> x = “this is a string”
>>> print (x + “!”)
this is a string!


📌به هر حال این کار پیشنهاد نمی شود.


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

🆔 : @pythonchallenge

BY چالش پایتون


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

View MORE
Open in Telegram


Telegram News

Date: |

How to create a business channel on Telegram? (Tutorial) How to create a business channel on Telegram? (Tutorial) How to Create a Private or Public Channel on Telegram? A few years ago, you had to use a special bot to run a poll on Telegram. Now you can easily do that yourself in two clicks. Hit the Menu icon and select “Create Poll.” Write your question and add up to 10 options. Running polls is a powerful strategy for getting feedback from your audience. If you’re considering the possibility of modifying your channel in any way, be sure to ask your subscribers’ opinions first. A new window will come up. Enter your channel name and bio. (See the character limits above.) Click “Create.”
from us


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