Telegram Group & Telegram Channel
دریافت اطلاعات از کاربر
برای دریافت اطلاعات از کاربر از دستور input استفاده می کنیم. کافی است مقدار دریافتی را به یک متغیر اختصاص دهیم. فرض کنید می خواهیم نام کاربر را دریافت کنیم. برای این منظور می توانیم از دستور زیر استفاده کنیم:
user_name = input("Please enter your name: ")
یا فرض کنید می خواهیم سن کاربر را دریافت کنیم:
user_age = input("Please enter your age: ")
مثال: برنامه ای بنویسید که نام کاربر را دریافت کند و به وی پیام خوش آمد نشان دهد. این عمل تا جایی ادامه پیدا کند که کاربر عبارت end را برای پایان برنامه تایپ کند.

#دریافت_اطلاعات_از_کاربر
#پایتون_مالی
#پایتون_مقدمانی

#مقدمات

پایتون برای مالی در تلگرام https://www.tg-me.com/pl/Python4Finance/com.python4finance
پایتون برای مالی در بله https://ble.im/pl/Python4Finance/com.python4finance



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

دریافت اطلاعات از کاربر
برای دریافت اطلاعات از کاربر از دستور input استفاده می کنیم. کافی است مقدار دریافتی را به یک متغیر اختصاص دهیم. فرض کنید می خواهیم نام کاربر را دریافت کنیم. برای این منظور می توانیم از دستور زیر استفاده کنیم:
user_name = input("Please enter your name: ")
یا فرض کنید می خواهیم سن کاربر را دریافت کنیم:
user_age = input("Please enter your age: ")
مثال: برنامه ای بنویسید که نام کاربر را دریافت کند و به وی پیام خوش آمد نشان دهد. این عمل تا جایی ادامه پیدا کند که کاربر عبارت end را برای پایان برنامه تایپ کند.

#دریافت_اطلاعات_از_کاربر
#پایتون_مالی
#پایتون_مقدمانی

#مقدمات

پایتون برای مالی در تلگرام https://www.tg-me.com/pl/Python4Finance/com.python4finance
پایتون برای مالی در بله https://ble.im/pl/Python4Finance/com.python4finance

BY Python4Finance




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

View MORE
Open in Telegram


Python4Finance Telegram | DID YOU KNOW?

Date: |

Telegram hopes to raise $1bn with a convertible bond private placement

The super secure UAE-based Telegram messenger service, developed by Russian-born software icon Pavel Durov, is looking to raise $1bn through a bond placement to a limited number of investors from Russia, Europe, Asia and the Middle East, the Kommersant daily reported citing unnamed sources on February 18, 2021.The issue reportedly comprises exchange bonds that could be converted into equity in the messaging service that is currently 100% owned by Durov and his brother Nikolai.Kommersant reports that the price of the conversion would be at a 10% discount to a potential IPO should it happen within five years.The minimum bond placement is said to be set at $50mn, but could be lowered to $10mn. Five-year bonds could carry an annual coupon of 7-8%.

Mr. Durov launched Telegram in late 2013 with his brother, Nikolai, just months before he was pushed out of VK, the Russian social-media platform he founded. Mr. Durov pitched his new app—funded with the proceeds from the VK sale—less as a business than as a way for people to send messages while avoiding government surveillance and censorship.

Python4Finance from pl


Telegram Python4Finance
FROM USA