PYTHON_WITH_MOHAMMAD Telegram 57
حالا برای تمرین بیشتر این کد پایینی رو ببینیید.

یه نکته اضافه تر از اسکریپت بالا داره و اونم پارامتر K هست که تعداد کارکتر های رندوم رو مشخص می کنه.

import string
import random

# Generating a random string of length 8 using ascii_letters
random_string = ''.join(random.choices(string.ascii_letters, k=8))
print(random_string)



tgoop.com/python_with_mohammad/57
Create:
Last Update:

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

یه نکته اضافه تر از اسکریپت بالا داره و اونم پارامتر K هست که تعداد کارکتر های رندوم رو مشخص می کنه.

import string
import random

# Generating a random string of length 8 using ascii_letters
random_string = ''.join(random.choices(string.ascii_letters, k=8))
print(random_string)

BY آموزش پایتون و برنامه نویسی


Share with your friend now:
tgoop.com/python_with_mohammad/57

View MORE
Open in Telegram


Telegram News

Date: |

The best encrypted messaging apps Deputy District Judge Peter Hui sentenced computer technician Ng Man-ho on Thursday, a month after the 27-year-old, who ran a Telegram group called SUCK Channel, was found guilty of seven charges of conspiring to incite others to commit illegal acts during the 2019 extradition bill protests and subsequent months. "Doxxing content is forbidden on Telegram and our moderators routinely remove such content from around the world," said a spokesman for the messaging app, Remi Vaughn. Your posting frequency depends on the topic of your channel. If you have a news channel, it’s OK to publish new content every day (or even every hour). For other industries, stick with 2-3 large posts a week. Telegram desktop app: In the upper left corner, click the Menu icon (the one with three lines). Select “New Channel” from the drop-down menu.
from us


Telegram آموزش پایتون و برنامه نویسی
FROM American