Telegram Group & Telegram Channel
کاربرد (...) در پایتون

در هنگام نگارش، بسیاری از اوقات پیش می آید که به قرینه ادامه جمله حذف می شود. برای مثال «زبان های برنامه نویسی متداول عبارتند از پایتون، جاوا، سی ، R و ...». علامت سه نقطه (یا همان وغیره خودمان!) نشان دهنده این است که کلمه یا عبارتی به تناسب قرینه حذف شده است که در انگیسی به آن Ellipsis گفته می شود.
گفتیم پایتون بسیار به زبان انسان نزدیک است. از این رو شما می توانید از ... یا Ellipsis در پایتون استفاده کنید. Ellipsis در پایتون سه کارکرد اصلی دارد. اول در slicing در Numpy ، دوم در عبارت های تکرار و سوم در تعریف تابع.
در تصویر این پست سه مثال از کاربرد Ellipsis تقدیم می شود.



#آموزش_پایتون
#پایتون_مالی
#سه_نقطه

#Ellipsis


@python4finance



tg-me.com/python4finance/539
Create:
Last Update:

کاربرد (...) در پایتون

در هنگام نگارش، بسیاری از اوقات پیش می آید که به قرینه ادامه جمله حذف می شود. برای مثال «زبان های برنامه نویسی متداول عبارتند از پایتون، جاوا، سی ، R و ...». علامت سه نقطه (یا همان وغیره خودمان!) نشان دهنده این است که کلمه یا عبارتی به تناسب قرینه حذف شده است که در انگیسی به آن Ellipsis گفته می شود.
گفتیم پایتون بسیار به زبان انسان نزدیک است. از این رو شما می توانید از ... یا Ellipsis در پایتون استفاده کنید. Ellipsis در پایتون سه کارکرد اصلی دارد. اول در slicing در Numpy ، دوم در عبارت های تکرار و سوم در تعریف تابع.
در تصویر این پست سه مثال از کاربرد Ellipsis تقدیم می شود.



#آموزش_پایتون
#پایتون_مالی
#سه_نقطه

#Ellipsis


@python4finance

BY Python4Finance




Share with your friend now:
tg-me.com/python4finance/539

View MORE
Open in Telegram


Python4Finance Telegram | DID YOU KNOW?

Date: |

A Telegram spokesman declined to comment on the bond issue or the amount of the debt the company has due. The spokesman said Telegram’s equipment and bandwidth costs are growing because it has consistently posted more than 40% year-to-year growth in users.

What is Telegram?

Telegram’s stand out feature is its encryption scheme that keeps messages and media secure in transit. The scheme is known as MTProto and is based on 256-bit AES encryption, RSA encryption, and Diffie-Hellman key exchange. The result of this complicated and technical-sounding jargon? A messaging service that claims to keep your data safe.Why do we say claims? When dealing with security, you always want to leave room for scrutiny, and a few cryptography experts have criticized the system. Overall, any level of encryption is better than none, but a level of discretion should always be observed with any online connected system, even Telegram.

Python4Finance from id


Telegram Python4Finance
FROM USA