From 7a066e4f0333ebe4af3a6343915793fe252dcded Mon Sep 17 00:00:00 2001 From: abdullahmir007 <143324825+abdullahmir007@users.noreply.github.com> Date: Fri, 20 Oct 2023 12:23:31 +0500 Subject: [PATCH 1/2] Whatsapp text Scheduling app WhatsApp Message Scheduler GUI script using turtle and pywhatkit This commit adds a Python script that creates a graphical user interface (GUI) for scheduling WhatsApp messages. The script uses the turtle graphics library for the GUI components and the pywhatkit library for sending WhatsApp messages. Users can input the recipient's phone number, compose a message, set the sending time (in 24-hour format), and click the 'Send Message' button to schedule the message. The script includes functions to handle message sending and GUI setup, providing a complete solution for scheduling WhatsApp messages. --- W/whatsapp chat schedule/readme.md | 0 W/whatsapp chat schedule/whatsapp_chat_schedule.py | 0 2 files changed, 0 insertions(+), 0 deletions(-) create mode 100644 W/whatsapp chat schedule/readme.md create mode 100644 W/whatsapp chat schedule/whatsapp_chat_schedule.py diff --git a/W/whatsapp chat schedule/readme.md b/W/whatsapp chat schedule/readme.md new file mode 100644 index 00000000..e69de29b diff --git a/W/whatsapp chat schedule/whatsapp_chat_schedule.py b/W/whatsapp chat schedule/whatsapp_chat_schedule.py new file mode 100644 index 00000000..e69de29b From a4b675ac59695392195c25628175571cd2793346 Mon Sep 17 00:00:00 2001 From: Abdullah Rizwan <143324825+abdullahmir007@users.noreply.github.com> Date: Sat, 28 Oct 2023 20:11:31 +0500 Subject: [PATCH 2/2] Create Selection sort.py --- Selection sort.py | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 Selection sort.py diff --git a/Selection sort.py b/Selection sort.py new file mode 100644 index 00000000..72f62462 --- /dev/null +++ b/Selection sort.py @@ -0,0 +1,21 @@ +def selection_sort(arr): + n = len(arr) + # Traverse through all array elements + for i in range(n): + # Find the minimum element in the remaining unsorted array + min_index = i + for j in range(i+1, n): + if arr[j] < arr[min_index]: + min_index = j + # Swap the found minimum element with the first element + arr[i], arr[min_index] = arr[min_index], arr[i] + +# Taking user input for the list +user_input = input("Enter elements of the list separated by space: ") +input_list = list(map(int, user_input.split())) + +# Sorting the user input list using selection_sort function +selection_sort(input_list) + +# Displaying the sorted list +print("Sorted Array:", input_list)