ChatGPT For Python Programmers
ChatGPT For Python Programmers
2|50
Prompt
How can I learn Python? What is the roadmap?
3|50
ChatGPTبرای برنامه نویسان پایتون
4|50
Prompt
write a python3 code, which if Given the head of a linked list like [1,2,3,4,5], reverse the nodes of the
list k at a time, and return the modified list.(if k = 2, then the output should be [2,1,4,3,5])
https://github.com/shenzhui007/leetcode-chatgpt
5|50
Prompt
برنامهای به زبان پایتون بنویسید که یک عدد صحیح از ورودی دریافت و مشخص کند برای خورد کردن
چنین مقدار پولی با سکههای 1تومانی 2 ،تومانی و 10تومانی به حداقل چه تعداد سکه نیازمندیم.
مثال:
23 :Input
:Output
2سکه 10تومانی
1سکه 2تومانی
1سکه 1تومانی
6|50
Prompt
برنامه ای به زبان پایتون بنویس برای یک دفترچه تلفن که قابلیت اضافه کردن شماره تلفن ،حذف ،ویرایش
و سرچ را دارد.
7|50
Prompt
8|50
ChatGPTبرای برنامه نویسان پایتون
<My Code>
10|50
Prompt
><My Code
این کد ،با استفاده از یک حلقه ،تمام اعداد فیبوناچی تا عدد nرا محاسبه میکند .اما این کد غیر بهینه است زیرا برای محاسبه هر
عدد فیبوناچی ،از تمام اعداد قبلی استفاده میکند .این باعث میشود که برای محاسبه عدد فیبوناچی ،nباید تمام اعداد قبلی را نیز
محاسبه کنیم که با افزایش ،nزمان اجرای کد بسیار طوالنی خواهد شد.
به جای استفاده از یک حلقه ،میتوان از روش بازگشتی استفاده کرد که کمتر منابع را مصرف میکند.
11|50
ChatGPTبرای برنامه نویسان پایتون
13|50
ChatGPTبرای برنامه نویسان پایتون
14|50
Prompt
<MY CODE>
15|50
ChatGPTبرای برنامه نویسان پایتون
16|50
Prompt
Write Test Case with unittest library in python for this code
<My Code>
Write Test Case with pytest library in python for this code
17|50
ChatGPTبرای برنامه نویسان پایتون
18|50
Prompt
I have an error in this code:
<My Code>
<Error>
Why my code is wrong? give me some test cases to test the above code?
19|50
ChatGPTبرای برنامه نویسان پایتون
20|50
Prompt
<My Code>
21|50
ChatGPTبرای برنامه نویسان پایتون
22|50
Prompt
<My code>
23|50
ChatGPTبرای برنامه نویسان پایتون
24|50
Prompt
Translate this code from python to <Another Programming language like Java>
<My Code>
25|50
ChatGPTبرای برنامه نویسان پایتون
Translate this Document for me into <Target Language: for example Persian>
<Document>
27|50
ChatGPTبرای برنامه نویسان پایتون
.12تولید اپ از اسکر چ
28|50
Prompt
Write a crawler for crawl information of <Query> from this website <URL> with Python and Scrapy
Library
29|50
Example
http://books.toscrape.com/
30|50
Prompt
31|50
ChatGPTبرای برنامه نویسان پایتون
33|50
ChatGPTبرای برنامه نویسان پایتون
34|50
Prompt
Write a Simple Telegram Bot with Python and python telegram bot library
35|50
برای برنامه نویسان پایتونChatGPT
36|50
Prompt
Add and modify this code
<My Code>
<Modification Parameters>
37|50
ChatGPTبرای برنامه نویسان پایتون
38|50
Prompt
این کد مدل Blogیک وب اپلیکیشن است که با جنگو نوشته شده است به این مدل کالس Commentرا
هم اضافه کن طوریکه در هر بالگ کاربران بتوانند کامنت های مختلفی قرار دهند.
39|50
برای برنامه نویسان پایتونChatGPT
40|50
ChatGPTبرای برنامه نویسان پایتون
41|50
Prompt
Write a Python Code for sentiment analysis using transformers, Hugging Face and
BERT large language model
42|50
Prompt
Write a Python code for text classification using Keras and LSTM model
43|50
ChatGPTبرای برنامه نویسان پایتون
44|50
Prompt
Write a python code for data visualization with bar chart for this simple dataset:
45|50
Prompt
دیتابیسی داریم با دو جدول با فیلد های زیر
)Customers(customer_id#, first_name
)Order(order_id#, amount, customer_id
کوئری های زیر را برای بازیابی اطالعات به زبان SQLبنویس
لیست تمام مشتریانی که خریدی انجام داده اند •
لیست تمام خرید ها •
لیست تمام خرید های باالی مقدار 400 •
مجموع تمام خرید ها •
مجموع تمام خرید های مشتری با نام ”“Mohammad •
46|50
Prompt
Write a Python code to retrieve a CSV dataset with the Pandas library
47|50
ChatGPTبرای برنامه نویسان پایتون
48|50
برای برنامه نویسان پایتونChatGPT
49|50
https://www.youtube.com/c/mohammadtaghizadeh
https://www.instagram.com/taghizadeh.me/
https://github.com/m-taghizadeh
https://www.linkedin.com/in/mtaghizadeh/
@Tqzdh