Notice: file_put_contents(): Write of 2194 bytes failed with errno=28 No space left on device in /var/www/tgoop/post.php on line 50

Warning: file_put_contents(): Only 8192 of 10386 bytes written, possibly out of free disk space in /var/www/tgoop/post.php on line 50
ریاضی، آمار و علوم کامپیوتر - مدارس میان‌رشته‌ای@IDS_Math P.148
IDS_MATH Telegram 148
🎲#گام_به_گام

💻 کدنویسی

9️⃣ دستورات پایه در پایتون: قسمت نهم

⚡️اعداد پایتون
سه نوع عدد در پایتون وجود دارد:
int
float
complex

متغیرهای عددی زمانی ایجاد می شوند که یک مقدار به آنها اختصاص دهید:
مثال
x = 1 # int
y = 2.8 # float
z = 1j # complex
برای تایید نوع هر شی در پایتون، از تابع() type استفاده کنید:
مثال
print(type(x))
print(type(y))
print(type(z))
خروجی پایتون
<class 'int'>
<class 'float'>
<class 'complex'>

اینت (Int) یا عدد صحیح، یک عدد صحیح، مثبت یا منفی، بدون اعشار، با طول نامحدود است.

مثال
x = 1
y = 35656222554887711
z = -3255522

print(type(x))
print(type(y))
print(type(z))
خروجی پایتون
<class 'int'>
<class 'int'>
<class 'int'>

فلوت (float) یا «عدد ممیز شناور» یک عدد مثبت یا منفی است که شامل یک یا چند اعشار است.
مثال
x = 1.10
y = 1.0
z = -35.59

print(type(x))
print(type(y))
print(type(z))
خروجی پایتون
<class 'float'>
<class 'float'>
<class 'float'>

.فلوت Float همچنین می تواند اعداد علمی با "e" برای نشان دادن توان 10 باشد.

مثال
x = 35e3
y = 12E4
z = -87.7e100

print(type(x))
print(type(y))
print(type(z))
خروجی پایتون
<class 'float'>
<class 'float'>
<class 'float'>
⬅️ ادامه دارد....

#️⃣#کدنویسی
#️⃣#IDSchools
#️⃣#IDS
#️⃣#IDS_Math

🆔@IDSchools
🆔@IDS_Math



tgoop.com/IDS_Math/148
Create:
Last Update:

🎲#گام_به_گام

💻 کدنویسی

9️⃣ دستورات پایه در پایتون: قسمت نهم

⚡️اعداد پایتون
سه نوع عدد در پایتون وجود دارد:
int
float
complex

متغیرهای عددی زمانی ایجاد می شوند که یک مقدار به آنها اختصاص دهید:
مثال
x = 1 # int
y = 2.8 # float
z = 1j # complex
برای تایید نوع هر شی در پایتون، از تابع() type استفاده کنید:
مثال
print(type(x))
print(type(y))
print(type(z))
خروجی پایتون
<class 'int'>
<class 'float'>
<class 'complex'>

اینت (Int) یا عدد صحیح، یک عدد صحیح، مثبت یا منفی، بدون اعشار، با طول نامحدود است.

مثال
x = 1
y = 35656222554887711
z = -3255522

print(type(x))
print(type(y))
print(type(z))
خروجی پایتون
<class 'int'>
<class 'int'>
<class 'int'>

فلوت (float) یا «عدد ممیز شناور» یک عدد مثبت یا منفی است که شامل یک یا چند اعشار است.
مثال
x = 1.10
y = 1.0
z = -35.59

print(type(x))
print(type(y))
print(type(z))
خروجی پایتون
<class 'float'>
<class 'float'>
<class 'float'>

.فلوت Float همچنین می تواند اعداد علمی با "e" برای نشان دادن توان 10 باشد.

مثال
x = 35e3
y = 12E4
z = -87.7e100

print(type(x))
print(type(y))
print(type(z))
خروجی پایتون
<class 'float'>
<class 'float'>
<class 'float'>
⬅️ ادامه دارد....

#️⃣#کدنویسی
#️⃣#IDSchools
#️⃣#IDS
#️⃣#IDS_Math

🆔@IDSchools
🆔@IDS_Math

BY ریاضی، آمار و علوم کامپیوتر - مدارس میان‌رشته‌ای


Share with your friend now:
tgoop.com/IDS_Math/148

View MORE
Open in Telegram


Telegram News

Date: |

On June 7, Perekopsky met with Brazilian President Jair Bolsonaro, an avid user of the platform. According to the firm's VP, the main subject of the meeting was "freedom of expression." A Hong Kong protester with a petrol bomb. File photo: Dylan Hollingsworth/HKFP. Content is editable within two days of publishing It’s yet another bloodbath on Satoshi Street. As of press time, Bitcoin (BTC) and the broader cryptocurrency market have corrected another 10 percent amid a massive sell-off. Ethereum (EHT) is down a staggering 15 percent moving close to $1,000, down more than 42 percent on the weekly chart. According to media reports, the privacy watchdog was considering “blacklisting” some online platforms that have repeatedly posted doxxing information, with sources saying most messages were shared on Telegram.
from us


Telegram ریاضی، آمار و علوم کامپیوتر - مدارس میان‌رشته‌ای
FROM American