<?xml version="1.0"?>
<rss version="2.0">
   <channel>
      <title>Python Class Activities by Chacharin Lertyosbordin</title>
      <link>https://padlet.com/chaightlert/uyupsau41urdgdyu</link>
      <description>Engaging Classroom Activities for Mastering Python</description>
      <language>en-us</language>
      <pubDate>2024-06-12 01:52:11 UTC</pubDate>
      <lastBuildDate>2024-06-21 08:15:21 UTC</lastBuildDate>
      <webMaster>hello@padlet.com</webMaster>
      <image>
         <url></url>
      </image>
      <item>
         <title></title>
         <author>chaightlert</author>
         <link>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3026589737</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/522940236/d32e229b18c593b0cbb758e54b4d4be0/S__39034905.jpg" />
         <pubDate>2024-06-13 03:44:22 UTC</pubDate>
         <guid>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3026589737</guid>
      </item>
      <item>
         <title>Code</title>
         <author>chaightlert</author>
         <link>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3026618954</link>
         <description><![CDATA[<pre><code class="language-notebook-python">balance = 100
menu = 1
amount = 0

def select_menu():
    global menu
    print("กรุณาเลือกเมนู")
    menu = int(input("1: ฝาก / 2: ถอน / 3: ถามยอด / 0: ยกเลิก &gt;&gt;"))
    if menu ==0:
        print("จบโปรแกรม")
    elif menu in range (1, 3):
        get_amount()
    elif menu == 3:
        show_balance()


def get_amount():
    global amount
    a = int(input("จำนวนเงิน &gt;&gt;"))
    amount = a
    if menu == 1:
        deposit()
    elif menu ==2:
        withdraw()


def deposit():
    global balance
    balance = balance + amount
    show_balance()

def withdraw():
    global balance
    if amount &lt;= balance:
        balance = balance - amount
        show_balance()
    else:
        print("ยอดเงินไม่เพียงพอ")

def show_balance():
    print("ยอดเงินคงเหลือ:  ", balance)
    select_menu()</code></pre>]]></description>
         <enclosure url="" />
         <pubDate>2024-06-13 04:15:59 UTC</pubDate>
         <guid>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3026618954</guid>
      </item>
      <item>
         <title></title>
         <author>chaightlert</author>
         <link>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3026867904</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/522940236/c3f148292edb69aabdb86a675a584141/image.png" />
         <pubDate>2024-06-13 07:46:51 UTC</pubDate>
         <guid>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3026867904</guid>
      </item>
      <item>
         <title>code</title>
         <author>chaightlert</author>
         <link>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3026868182</link>
         <description><![CDATA[<p>from tkinter import*</p><p>frame = Tk()</p><p>frame.geometry("500x300")</p><p>frame.title("HAHAHAHA")</p><p>L1 = Label(frame,text="Hello", font=('Arial', 25), bg ="black", fg="white")</p><p><a rel="noopener noreferrer nofollow" href="http://L1.place">L1.place</a>(x=100,y=200)</p><p>frame.mainloop()</p><p><br/></p>]]></description>
         <enclosure url="" />
         <pubDate>2024-06-13 07:47:13 UTC</pubDate>
         <guid>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3026868182</guid>
      </item>
      <item>
         <title></title>
         <author></author>
         <link>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3026868394</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/2532355083/8551d1d24bede1f80179ac43beff80ea/image.png" />
         <pubDate>2024-06-13 07:47:31 UTC</pubDate>
         <guid>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3026868394</guid>
      </item>
      <item>
         <title></title>
         <author></author>
         <link>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3026869003</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/2532355032/57aa2bad80e26049b67c2026bbe36ba3/image.png" />
         <pubDate>2024-06-13 07:48:20 UTC</pubDate>
         <guid>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3026869003</guid>
      </item>
      <item>
         <title></title>
         <author></author>
         <link>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3026869015</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/2532354683/63d4f82e38283b0e3ae3ac150668e3ee/image.png" />
         <pubDate>2024-06-13 07:48:22 UTC</pubDate>
         <guid>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3026869015</guid>
      </item>
      <item>
         <title></title>
         <author></author>
         <link>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3026869129</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/2532355131/2db4d8e3cb8d817775ab013c683f694f/image.png" />
         <pubDate>2024-06-13 07:48:30 UTC</pubDate>
         <guid>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3026869129</guid>
      </item>
      <item>
         <title></title>
         <author></author>
         <link>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3026869304</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/2532354594/a7efb5078ef1cd8eeb19e4a19d42dbd8/image.png" />
         <pubDate>2024-06-13 07:48:41 UTC</pubDate>
         <guid>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3026869304</guid>
      </item>
      <item>
         <title></title>
         <author>nonthawat35750</author>
         <link>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3026869774</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/2532354923/6afd15bcba6bedc74c690709df6ee8ce/image.png" />
         <pubDate>2024-06-13 07:49:16 UTC</pubDate>
         <guid>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3026869774</guid>
      </item>
      <item>
         <title></title>
         <author>sakdisedza</author>
         <link>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3026869896</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/2532354324/e0dacbd05296ab23ba0f5f332d04bc03/image.png" />
         <pubDate>2024-06-13 07:49:23 UTC</pubDate>
         <guid>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3026869896</guid>
      </item>
      <item>
         <title></title>
         <author></author>
         <link>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3026870278</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/2532355397/bc115a9510ae50594c4475c7a6416daf/image.png" />
         <pubDate>2024-06-13 07:49:36 UTC</pubDate>
         <guid>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3026870278</guid>
      </item>
      <item>
         <title></title>
         <author></author>
         <link>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3026870651</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/2532359894/9ba6a884350be876ce7079252a60ee16/image.png" />
         <pubDate>2024-06-13 07:49:59 UTC</pubDate>
         <guid>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3026870651</guid>
      </item>
      <item>
         <title></title>
         <author></author>
         <link>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3026870833</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/2532355462/dcb5172eeea9bd45cf904c8cc08ff266/image.png" />
         <pubDate>2024-06-13 07:50:07 UTC</pubDate>
         <guid>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3026870833</guid>
      </item>
      <item>
         <title></title>
         <author></author>
         <link>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3026870838</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/2532356353/9051cb6a69e1c100ee0d5dcff2ba8a4a/image.png" />
         <pubDate>2024-06-13 07:50:07 UTC</pubDate>
         <guid>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3026870838</guid>
      </item>
      <item>
         <title></title>
         <author></author>
         <link>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3026871352</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/2532354768/7ca6ff50ad5705dffa3f6711e17b8b38/image.png" />
         <pubDate>2024-06-13 07:50:39 UTC</pubDate>
         <guid>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3026871352</guid>
      </item>
      <item>
         <title></title>
         <author></author>
         <link>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3026871685</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/2532354657/5ae51d8996ac11a9969b6ef3407b4538/image.png" />
         <pubDate>2024-06-13 07:50:57 UTC</pubDate>
         <guid>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3026871685</guid>
      </item>
      <item>
         <title></title>
         <author></author>
         <link>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3026871716</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/2532354961/f00dac6f7336d5490528c4b3ab85f518/Annotation_2024_06_13_145012.jpg" />
         <pubDate>2024-06-13 07:50:59 UTC</pubDate>
         <guid>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3026871716</guid>
      </item>
      <item>
         <title></title>
         <author></author>
         <link>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3026872770</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/2532356266/2660d66166664ee6a9d0fb461c2f4d52/image.png" />
         <pubDate>2024-06-13 07:52:14 UTC</pubDate>
         <guid>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3026872770</guid>
      </item>
      <item>
         <title></title>
         <author>saifalungka</author>
         <link>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3026875923</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/2532365265/a28619286483711f8ec64eda82da1357/image.png" />
         <pubDate>2024-06-13 07:56:13 UTC</pubDate>
         <guid>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3026875923</guid>
      </item>
      <item>
         <title></title>
         <author></author>
         <link>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3026877944</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/2532355759/b0546d917b22a92e5bae1e2f53eb5557/image.png" />
         <pubDate>2024-06-13 07:58:42 UTC</pubDate>
         <guid>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3026877944</guid>
      </item>
      <item>
         <title></title>
         <author></author>
         <link>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3026878379</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/2532355315/8c4eda132df6b2d1c2a83a481e50eb77/image.png" />
         <pubDate>2024-06-13 07:59:13 UTC</pubDate>
         <guid>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3026878379</guid>
      </item>
      <item>
         <title></title>
         <author>tigerlathulee</author>
         <link>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3026880446</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/2532356309/87a8754db5dfecaf1c797ea1884d2041/image.png" />
         <pubDate>2024-06-13 08:01:49 UTC</pubDate>
         <guid>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3026880446</guid>
      </item>
      <item>
         <title></title>
         <author></author>
         <link>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3026892699</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/2532354345/ebc79eac331296f8a50dd779758f9377/image.png" />
         <pubDate>2024-06-13 08:16:26 UTC</pubDate>
         <guid>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3026892699</guid>
      </item>
      <item>
         <title></title>
         <author></author>
         <link>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3027806526</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/2532354961/b15f84b0b212d5e5af9992ed08cdd830/image.png" />
         <pubDate>2024-06-14 03:55:11 UTC</pubDate>
         <guid>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3027806526</guid>
      </item>
      <item>
         <title></title>
         <author></author>
         <link>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3027806738</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/2532354657/b6a0370c14efa1a70e9f4103e89fb4c2/image.png" />
         <pubDate>2024-06-14 03:55:26 UTC</pubDate>
         <guid>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3027806738</guid>
      </item>
      <item>
         <title></title>
         <author></author>
         <link>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3027807905</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/2532355131/8d8049b5dd6e1881ac13a903fa9db732/image.png" />
         <pubDate>2024-06-14 03:56:55 UTC</pubDate>
         <guid>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3027807905</guid>
      </item>
      <item>
         <title></title>
         <author></author>
         <link>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3027808765</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/2532356353/5cce714de230f03465943bbcbe078df5/image.png" />
         <pubDate>2024-06-14 03:57:59 UTC</pubDate>
         <guid>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3027808765</guid>
      </item>
      <item>
         <title></title>
         <author></author>
         <link>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3027810680</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/2532354683/3666a3c160b9748d1785a04641b41767/image.png" />
         <pubDate>2024-06-14 04:00:38 UTC</pubDate>
         <guid>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3027810680</guid>
      </item>
      <item>
         <title></title>
         <author>sakdisedza</author>
         <link>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3027812271</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/2532354324/b9e14691d0ba4701284b32ba6c8d6359/image.png" />
         <pubDate>2024-06-14 04:02:49 UTC</pubDate>
         <guid>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3027812271</guid>
      </item>
      <item>
         <title></title>
         <author></author>
         <link>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3027812872</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/2532354594/95158c72cefba1d5dfd1ed27914d91d7/image.png" />
         <pubDate>2024-06-14 04:03:38 UTC</pubDate>
         <guid>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3027812872</guid>
      </item>
      <item>
         <title></title>
         <author></author>
         <link>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3027815997</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/2532355032/14a2ae7a51b0d7f83fb847f90e5aa244/image.png" />
         <pubDate>2024-06-14 04:07:50 UTC</pubDate>
         <guid>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3027815997</guid>
      </item>
      <item>
         <title></title>
         <author></author>
         <link>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3027816312</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/2532355462/c3f606777af20102cda1157d6bc7793c/image.png" />
         <pubDate>2024-06-14 04:08:11 UTC</pubDate>
         <guid>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3027816312</guid>
      </item>
      <item>
         <title></title>
         <author></author>
         <link>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3027820037</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/2532355759/6f1705db575809f762afbfbe6bef7c67/image.png" />
         <pubDate>2024-06-14 04:13:12 UTC</pubDate>
         <guid>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3027820037</guid>
      </item>
      <item>
         <title></title>
         <author></author>
         <link>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3027820158</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/2532355083/7a4547f343d655faacc682858fafe061/image.png" />
         <pubDate>2024-06-14 04:13:21 UTC</pubDate>
         <guid>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3027820158</guid>
      </item>
      <item>
         <title></title>
         <author></author>
         <link>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3027820433</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/2532354768/1b75612f64320d4ce6606fc4f9db3f20/image.png" />
         <pubDate>2024-06-14 04:13:44 UTC</pubDate>
         <guid>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3027820433</guid>
      </item>
      <item>
         <title></title>
         <author></author>
         <link>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3027821568</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/2532355397/75e7731cee4d86af24623af8e4f4846b/image.png" />
         <pubDate>2024-06-14 04:15:06 UTC</pubDate>
         <guid>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3027821568</guid>
      </item>
      <item>
         <title></title>
         <author>nonthawat35750</author>
         <link>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3027823341</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/2532354923/1fba5adf727a1f283c8f1e9e39dd1401/image.png" />
         <pubDate>2024-06-14 04:17:16 UTC</pubDate>
         <guid>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3027823341</guid>
      </item>
      <item>
         <title></title>
         <author>tigerlathulee</author>
         <link>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3027828539</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/2532356309/60a5580d6ffd60c3ef7c3cc4fcebd3ef/image.png" />
         <pubDate>2024-06-14 04:23:41 UTC</pubDate>
         <guid>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3027828539</guid>
      </item>
      <item>
         <title></title>
         <author></author>
         <link>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3027835183</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/2535997624/90922af09571e4c6053247512547f581/image.png" />
         <pubDate>2024-06-14 04:30:56 UTC</pubDate>
         <guid>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3027835183</guid>
      </item>
      <item>
         <title>Code</title>
         <author>chaightlert</author>
         <link>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3027836982</link>
         <description><![CDATA[<p>from tkinter import*</p><p>from datetime import datetime</p><p>import time</p><p>def update_clock():</p><p>    now = <a rel="noopener noreferrer nofollow" href="http://datetime.now">datetime.now</a>()</p><p>    current_date = now.strftime("%d / %m / %Y")</p><p>    current_time = now.strftime("%H:%M:%S")</p><p>    L1.config(text = current_date)</p><p>    L2.config(text = current_time)</p><p>    frame.after(1000,update_clock)</p><p>frame = Tk()</p><p>frame.title("GUI - 1")</p><p>frame.geometry("300x200")</p><p>L1 = Label(frame,text = "Date", font = ("Tahoma",20))</p><p>L1.pack()</p><p>L2 = Label(frame,text = "Time", font = ("Tahoma",20))</p><p>L2.pack()</p><p>update_clock()</p><p>frame.mainloop()</p><p><br/></p>]]></description>
         <enclosure url="" />
         <pubDate>2024-06-14 04:32:48 UTC</pubDate>
         <guid>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3027836982</guid>
      </item>
      <item>
         <title>start stop</title>
         <author>chaightlert</author>
         <link>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3027854824</link>
         <description><![CDATA[<p>from tkinter import*</p><p>from datetime import datetime</p><p>import time</p><p>def update_clock():</p><p>    global cl</p><p>    now = <a rel="noopener noreferrer nofollow" href="http://datetime.now">datetime.now</a>()</p><p>    current_date = now.strftime("%d / %m / %Y")</p><p>    current_time = now.strftime("%H:%M:%S")</p><p>    L1.config(text = current_date)</p><p>    L2.config(text = current_time)</p><p>    cl = frame.after(1000,update_clock)</p><p>def stop_click():</p><p>    global cl</p><p>    frame.after_cancel(cl)</p><p>frame = Tk()</p><p>frame.title("GUI - 1")</p><p>frame.geometry("300x200")</p><p>cl = None</p><p>L1 = Label(frame,text = "Date", font = ("Tahoma",20))</p><p>L1.pack()</p><p>L2 = Label(frame,text = "Time", font = ("Tahoma",20))</p><p>L2.pack()</p><p>B1 = Button(frame, text = "Start" ,command = update_clock)</p><p>B1.pack()</p><p>B2 = Button(frame, text = "Stop", command = stop_click)</p><p>B2.pack()</p><p>frame.mainloop()</p><p><br/></p>]]></description>
         <enclosure url="" />
         <pubDate>2024-06-14 04:46:03 UTC</pubDate>
         <guid>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3027854824</guid>
      </item>
      <item>
         <title></title>
         <author></author>
         <link>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3027865296</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/2532359894/67a7438d329afd6c2ccdfa8020ab1fab/image.png" />
         <pubDate>2024-06-14 04:54:54 UTC</pubDate>
         <guid>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3027865296</guid>
      </item>
      <item>
         <title></title>
         <author>saifalungka</author>
         <link>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3027908623</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/2532365265/b702c8f1fafc3b1c0e23c154dd151f92/image.png" />
         <pubDate>2024-06-14 05:32:10 UTC</pubDate>
         <guid>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3027908623</guid>
      </item>
      <item>
         <title></title>
         <author></author>
         <link>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3027919476</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/2532356266/45080b2135f259331c45722fa2a219f5/image.png" />
         <pubDate>2024-06-14 05:42:59 UTC</pubDate>
         <guid>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3027919476</guid>
      </item>
      <item>
         <title>Code</title>
         <author>chaightlert</author>
         <link>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3028045086</link>
         <description><![CDATA[<p>from openpyxl import*</p><p>wb = load_workbook("record.xlsx")</p><p>wb.active = wb["Sheet1"]</p><p>sheet = wb.active</p><p>print("Fully Access to Excel Sheet")</p><p>from tkinter import*</p><p>frame = Tk()</p><p>frame.geometry('300x200')</p><p>from datetime import datetime</p><p>def on_click():</p><p>    value_s1 = var.get()</p><p>    now = <a rel="noopener noreferrer nofollow" href="http://datetime.now">datetime.now</a>()</p><p>    last_row = sheet.max_row+1</p><p>    </p><p>    point_to_cell_time = sheet.cell(last_row,column=1)</p><p>    point_to_cell_value = sheet.cell(last_row,column=2)</p><p>    </p><p>    point_to_cell_time.value = now</p><p>    point_to_cell_value.value = value_s1</p><p>    </p><p>    <a rel="noopener noreferrer nofollow" href="http://wb.save">wb.save</a>("record.xlsx")</p><p>    print("Value was record")</p><p>    </p><p>var = DoubleVar()</p><p>S1 = Scale(frame, resolution=0.001, variable = var, orient = "horizontal", label="SCALE", from_ = -100, to = 100, length=200, width = 30)</p><p>S1.pack()</p><p>B1 = Button(frame, text= "OK", command = on_click)</p><p>B1.pack()</p><p>frame.mainloop()</p>]]></description>
         <enclosure url="" />
         <pubDate>2024-06-14 07:52:16 UTC</pubDate>
         <guid>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3028045086</guid>
      </item>
      <item>
         <title></title>
         <author></author>
         <link>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3028058838</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/2532355032/5883337ad2b66087a657e2032b23c495/image.png" />
         <pubDate>2024-06-14 08:11:26 UTC</pubDate>
         <guid>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3028058838</guid>
      </item>
      <item>
         <title></title>
         <author>saifalungka</author>
         <link>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3028068511</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/2532365265/d5d24e4ff3e45859720262a548bd920d/_______________.jpg" />
         <pubDate>2024-06-14 08:25:57 UTC</pubDate>
         <guid>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3028068511</guid>
      </item>
      <item>
         <title></title>
         <author>saifalungka</author>
         <link>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3028068722</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/2532365265/b377c3fdd24e9559f512a291b3bc6521/Image__6_.jpg" />
         <pubDate>2024-06-14 08:26:16 UTC</pubDate>
         <guid>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3028068722</guid>
      </item>
      <item>
         <title></title>
         <author>saifalungka</author>
         <link>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3028070892</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/2532365265/e6780360a64171406612b25aefbe2b09/Image.jpg" />
         <pubDate>2024-06-14 08:29:27 UTC</pubDate>
         <guid>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3028070892</guid>
      </item>
      <item>
         <title></title>
         <author>saifalungka</author>
         <link>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3028076065</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/2532365265/210c2425c53207e2a458f8ee8705a593/Image__7_.jpg" />
         <pubDate>2024-06-14 08:35:34 UTC</pubDate>
         <guid>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3028076065</guid>
      </item>
      <item>
         <title></title>
         <author>saifalungka</author>
         <link>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3028076881</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/2532365265/c339e558c8b4c0bf5ff8fe52592b4530/_________________3_.jpg" />
         <pubDate>2024-06-14 08:36:36 UTC</pubDate>
         <guid>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3028076881</guid>
      </item>
      <item>
         <title>GUI-CSV</title>
         <author>chaightlert</author>
         <link>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3031827814</link>
         <description><![CDATA[]]></description>
         <enclosure url="" />
         <pubDate>2024-06-19 03:08:38 UTC</pubDate>
         <guid>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3031827814</guid>
      </item>
      <item>
         <title>gui code csv</title>
         <author>chaightlert</author>
         <link>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3031828321</link>
         <description><![CDATA[<p>import tkinter as tk</p><p>from tkinter import messagebox</p><p>import csv</p><p># Function to save data to CSV file</p><p>def save_to_csv(data):</p><p>    file_exists = False</p><p>    try:</p><p>        with open('names.csv', 'r') as file:</p><p>            file_exists = True</p><p>    except FileNotFoundError:</p><p>        pass</p><p>    with open('names.csv', 'a', newline='') as file:</p><p>        fieldnames = ['First Name', 'Last Name']</p><p>        writer = csv.DictWriter(file, fieldnames=fieldnames)</p><p>        </p><p>        if not file_exists:</p><p>            writer.writeheader()</p><p>        </p><p>        writer.writerow(data)</p><p># Function to handle the submit button click</p><p>def submit():</p><p>    first_name = entry_first_name.get()</p><p>    last_name = entry_last_name.get()</p><p>    </p><p>    if first_name and last_name:</p><p>        data = {'First Name': first_name, 'Last Name': last_name}</p><p>        #save_to_csv(data)</p><p>        messagebox.showinfo("Success", "Data saved successfully!")</p><p>        entry_first_name.delete(0, tk.END)</p><p>        entry_last_name.delete(0, tk.END)</p><p>    else:</p><p>        messagebox.showwarning("Input Error", "Please enter both first name and last name")</p><p># Create the main window</p><p>root = <a rel="noopener noreferrer nofollow" href="http://tk.Tk">tk.Tk</a>()</p><p>root.title("Name Collector")</p><p># Create and place the widgets</p><p>label_first_name = tk.Label(root, text="First Name:")</p><p>label_first_name.grid(row=0, column=0, padx=10, pady=5)</p><p>entry_first_name = tk.Entry(root)</p><p>entry_first_name.grid(row=0, column=1, padx=10, pady=5)</p><p>label_last_name = tk.Label(root, text="Last Name:")</p><p>label_last_name.grid(row=1, column=0, padx=10, pady=5)</p><p>entry_last_name = tk.Entry(root)</p><p>entry_last_name.grid(row=1, column=1, padx=10, pady=5)</p><p>submit_button = tk.Button(root, text="Submit", command=submit)</p><p>submit_button.grid(row=2, columnspan=2, pady=10)</p><p># Run the main event loop</p><p>root.mainloop()</p><p><br/></p>]]></description>
         <enclosure url="" />
         <pubDate>2024-06-19 03:08:58 UTC</pubDate>
         <guid>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3031828321</guid>
      </item>
      <item>
         <title></title>
         <author></author>
         <link>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3031830898</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/2542527026/d3d8a9832f601a967c721c5b20dfcd8a/IMG_4661.jpeg" />
         <pubDate>2024-06-19 03:10:36 UTC</pubDate>
         <guid>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3031830898</guid>
      </item>
      <item>
         <title>JSON</title>
         <author>chaightlert</author>
         <link>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3032061588</link>
         <description><![CDATA[<p>// <a rel="noopener noreferrer nofollow" href="https://www.w3schools.com/python/pandas/data.js">https://www.w3schools.com/python/pandas/data.js</a></p>]]></description>
         <enclosure url="https://www.w3schools.com/python/pandas/data.js" />
         <pubDate>2024-06-19 07:02:29 UTC</pubDate>
         <guid>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3032061588</guid>
      </item>
      <item>
         <title>CSV</title>
         <author>chaightlert</author>
         <link>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3032061823</link>
         <description><![CDATA[<p>// <a rel="noopener noreferrer nofollow" href="https://www.w3schools.com/python/pandas/data.csv">https://www.w3schools.com/python/pandas/data.csv</a></p>]]></description>
         <enclosure url="https://www.w3schools.com/python/pandas/data.csv" />
         <pubDate>2024-06-19 07:02:47 UTC</pubDate>
         <guid>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3032061823</guid>
      </item>
      <item>
         <title>Titanic</title>
         <author>chaightlert</author>
         <link>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3032073990</link>
         <description><![CDATA[<p>//<a rel="noopener noreferrer nofollow" href="https://drive.google.com/file/u/0/d/17XszLX8k8O0hYx9kfYH07NDzKJKsk9WS/view?usp=sharing&amp;pli=1">https://drive.google.com/file/u/0/d/17XszLX8k8O0hYx9kfYH07NDzKJKsk9WS/view?usp=sharing&amp;pli=1</a></p>]]></description>
         <enclosure url="https://drive.google.com/file/u/0/d/17XszLX8k8O0hYx9kfYH07NDzKJKsk9WS/view?usp=sharing&amp;pli=1" />
         <pubDate>2024-06-19 07:15:47 UTC</pubDate>
         <guid>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3032073990</guid>
      </item>
      <item>
         <title>count male female</title>
         <author>chaightlert</author>
         <link>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3032103855</link>
         <description><![CDATA[<p>please act as python data scientist.</p><p>i have csv file named "train.csv" that run in google colab.</p><p>now i have dataframe with pandas by code</p><p>import pandas as pd</p><p>df = <a rel="noopener noreferrer nofollow" href="http://pd.read">pd.read</a>_csv("train.csv")</p><p>in the df have filed name "Sex" that contain 891 record.</p><p>i want you create python with mathplotlib to show bar graph that compare number of male and female from df[sex].</p>]]></description>
         <enclosure url="" />
         <pubDate>2024-06-19 07:38:37 UTC</pubDate>
         <guid>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3032103855</guid>
      </item>
      <item>
         <title>Generate fake Data Sale</title>
         <author>chaightlert</author>
         <link>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3032837051</link>
         <description><![CDATA[<p>Write a Python program to simulate and analyze sales data for a retail store. The program should:</p><p><br></p><ul><li><p>Generate a dataset of sales data for 12 months using NumPy.</p></li><li><p>Load the generated dataset into a Pandas DataFrame.</p></li><li><p>Calculate and display basic statistics (mean, median, total) for sales amounts.</p></li><li><p>Plot a bar chart of total sales per month using Matplotlib.</p></li><li><p>Plot a line chart of cumulative sales over time using Matplotlib.</p></li></ul>]]></description>
         <enclosure url="" />
         <pubDate>2024-06-20 02:06:34 UTC</pubDate>
         <guid>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3032837051</guid>
      </item>
      <item>
         <title>Gen-Data-sale</title>
         <author>chaightlert</author>
         <link>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3032849420</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://colab.research.google.com/drive/19PD7jdmHvkcfTGw6EgQAgc62O5B-hFPJ?usp=sharing" />
         <pubDate>2024-06-20 02:14:24 UTC</pubDate>
         <guid>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3032849420</guid>
      </item>
      <item>
         <title>Slide</title>
         <author>chaightlert</author>
         <link>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3032902220</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://docs.google.com/presentation/d/1uquanq9dNM5PF1NzZq9cMU-NVpQlYnVCska8CDmpNq8/edit?usp=sharing" />
         <pubDate>2024-06-20 02:51:45 UTC</pubDate>
         <guid>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3032902220</guid>
      </item>
      <item>
         <title>Salary-create-model-linear</title>
         <author>chaightlert</author>
         <link>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3033141488</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://colab.research.google.com/drive/1YpX1BPFmjL9PDjPHkjBkOROc5Mn0mT2e?usp=sharing" />
         <pubDate>2024-06-20 06:15:20 UTC</pubDate>
         <guid>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3033141488</guid>
      </item>
      <item>
         <title>Dataset-Insurance</title>
         <author>chaightlert</author>
         <link>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3033145872</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://drive.google.com/file/d/1KneKzVKwhJB3fqRbh_lWN4o2-UXqdCRt/view?usp=drive_link" />
         <pubDate>2024-06-20 06:19:15 UTC</pubDate>
         <guid>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3033145872</guid>
      </item>
      <item>
         <title>prompt</title>
         <author>chaightlert</author>
         <link>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3033163511</link>
         <description><![CDATA[<p>please act as python analyze expert.</p><p>i have dataset like this,</p><p>age sex bmi children smoker region charges 19 female 27.9 0 yes southwest 16884.924 18 male 33.77 1 no southeast 1725.5523 28 male 33 3 no southeast 4449.462 33 male 22.705 0 no northwest 21984.47061 32 male 28.88 0 no northwest 3866.8552 31 female 25.74 0 no southeast 3756.6216</p><p>please create python code by using numpy pandas matplotlib sklearn_multiple_linear regression</p><p>we will run code on google colab. first, import file name insurance.csv to dataframe. next, split data for train and test. next, fit the multiple linear regression model to predict "charge" next, eveluate the model with mse, and r2 next, plot graph about variable that used in model. and also show relation between variables.</p>]]></description>
         <enclosure url="" />
         <pubDate>2024-06-20 06:35:13 UTC</pubDate>
         <guid>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3033163511</guid>
      </item>
      <item>
         <title>Colab-book-insure</title>
         <author>chaightlert</author>
         <link>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3033173191</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://colab.research.google.com/drive/1YqasKwdQiN2_mOqa7QiG5VdI4BbTADhT?usp=sharing" />
         <pubDate>2024-06-20 06:43:11 UTC</pubDate>
         <guid>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3033173191</guid>
      </item>
      <item>
         <title>prompt2</title>
         <author>chaightlert</author>
         <link>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3033192307</link>
         <description><![CDATA[<p>please act as python expert. now, i make the multiple linear regression model by using this code:</p><p>X = df[['age', 'bmi', 'children']] # Independent variables y = df['charges'] # Dependent variable (target)</p><p>X_train, X_test, y_train, y_test = train_test_split(X, y, test_size=0.2, random_state=0)</p><p><br/></p><p>model = LinearRegression() <a rel="noopener noreferrer nofollow" href="http://model.fit">model.fit</a>(X_train, y_train)</p><p>after this, please write the python code to create function for model implement. this funtion will: prompt user input number of "age" prompt user input number of "bmi" prompt user input number of "children" then use 3 value from input with model and print the "charges" predict value.</p>]]></description>
         <enclosure url="" />
         <pubDate>2024-06-20 06:56:57 UTC</pubDate>
         <guid>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3033192307</guid>
      </item>
      <item>
         <title>ราคาบ้าน</title>
         <author>chaightlert</author>
         <link>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3033219754</link>
         <description><![CDATA[<p><a rel="noopener noreferrer nofollow" href="https://drive.google.com/file/d/10XorvCxDr-UL2hoKWf8PvXoeww1ue28j/view?usp=drive_link">https://drive.google.com/file/d/10XorvCxDr-UL2hoKWf8PvXoeww1ue28j/view?usp=drive_link</a></p>]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/522940236/060a66947bac6a7aa70bd5a159b215eb/image.png" />
         <pubDate>2024-06-20 07:18:46 UTC</pubDate>
         <guid>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3033219754</guid>
      </item>
      <item>
         <title>เฉลย</title>
         <author>chaightlert</author>
         <link>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3033251965</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://colab.research.google.com/drive/1shIckj1m_UuXUp1T5FXkcJ2NXXnG0wlo?usp=sharing" />
         <pubDate>2024-06-20 07:46:27 UTC</pubDate>
         <guid>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3033251965</guid>
      </item>
      <item>
         <title></title>
         <author></author>
         <link>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3034025562</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/2542527026/bea8560684363496f77d88e9f6d44fa8/IMG_4754.jpeg" />
         <pubDate>2024-06-21 02:13:20 UTC</pubDate>
         <guid>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3034025562</guid>
      </item>
      <item>
         <title>data-student-hour</title>
         <author>chaightlert</author>
         <link>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3034026211</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://drive.google.com/file/d/1vgfXEaz7ZgPnfHhlHK6S_3-hMTLPPfEd/view" />
         <pubDate>2024-06-21 02:13:47 UTC</pubDate>
         <guid>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3034026211</guid>
      </item>
      <item>
         <title></title>
         <author></author>
         <link>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3034026402</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/2542527026/5e747ac231b23395045a1912822a08c7/IMG_4761.jpeg" />
         <pubDate>2024-06-21 02:13:55 UTC</pubDate>
         <guid>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3034026402</guid>
      </item>
      <item>
         <title>code เฉลย student</title>
         <author>chaightlert</author>
         <link>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3034059566</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://colab.research.google.com/drive/1IasYUqYbXqrrjdPGjjRXk_Zpx7FCzYW_?usp=sharing" />
         <pubDate>2024-06-21 02:37:59 UTC</pubDate>
         <guid>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3034059566</guid>
      </item>
      <item>
         <title>prompt</title>
         <author>chaightlert</author>
         <link>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3034061117</link>
         <description><![CDATA[<p>please act as python data scientist. Dataset Description You have been provided with a dataset containing the following columns: Hours Studied: The number of hours a student studied for the exam. Passed: A binary indicator (0 or 1) representing whether the student passed the exam or not. A value of 1 indicates the student passed, while a value of 0 indicates failure. The dataset contains 100 samples with these two features. example in file named "hour_studied_data": HoursStudied Passed 5.488135039 0 7.151893664 1 6.027633761 1 5.44883183 0 please write the code using numpy pandas matplotlib. create model logistic regression by sklearn evaluate model with r2 and other importance value. plot graph to show curve of logistic regression from model. write the function to use the model with pywidget in google colab.</p>]]></description>
         <enclosure url="" />
         <pubDate>2024-06-21 02:39:15 UTC</pubDate>
         <guid>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3034061117</guid>
      </item>
      <item>
         <title></title>
         <author></author>
         <link>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3034079565</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/2542527026/2d771cdc00889235359d1df5c51cc834/IMG_4761.jpeg" />
         <pubDate>2024-06-21 02:52:48 UTC</pubDate>
         <guid>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3034079565</guid>
      </item>
      <item>
         <title></title>
         <author></author>
         <link>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3034080138</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/2542527026/a39b0ff7d2c85d8ffa55773fc765ce9c/IMG_4752.jpeg" />
         <pubDate>2024-06-21 02:53:14 UTC</pubDate>
         <guid>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3034080138</guid>
      </item>
      <item>
         <title></title>
         <author></author>
         <link>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3034080462</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/2542527026/0e3a8e9b4683a1ec680fdfa2532b0c9b/IMG_4766.jpeg" />
         <pubDate>2024-06-21 02:53:31 UTC</pubDate>
         <guid>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3034080462</guid>
      </item>
      <item>
         <title></title>
         <author></author>
         <link>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3034081621</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/2542527026/1d8ad3864bb1f0e493090b63e3ac29ef/IMG_4753.jpeg" />
         <pubDate>2024-06-21 02:54:18 UTC</pubDate>
         <guid>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3034081621</guid>
      </item>
      <item>
         <title></title>
         <author></author>
         <link>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3034082508</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/2542527026/22e322053aa9b131d0179a51c2319c7d/IMG_4755.jpeg" />
         <pubDate>2024-06-21 02:54:55 UTC</pubDate>
         <guid>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3034082508</guid>
      </item>
      <item>
         <title>code เฉลย telecom</title>
         <author>chaightlert</author>
         <link>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3034116062</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://colab.research.google.com/drive/1bJO65mJzOBXern4LaLQKYmLzQmD-AoGw?usp=sharing" />
         <pubDate>2024-06-21 03:19:07 UTC</pubDate>
         <guid>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3034116062</guid>
      </item>
      <item>
         <title>Code Kmean</title>
         <author>chaightlert</author>
         <link>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3034159974</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://colab.research.google.com/drive/1kkZuFW9hqcqg03cTi7ILuGNzA6cAFKHN?usp=sharing" />
         <pubDate>2024-06-21 04:05:57 UTC</pubDate>
         <guid>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3034159974</guid>
      </item>
      <item>
         <title>promt</title>
         <author>chaightlert</author>
         <link>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3034160209</link>
         <description><![CDATA[<p>please act as Python data sci. You working for a retail company that wants to optimize its marketing strategy by understanding its customers better. The company has collected data on customer purchases and wants to segment customers into distinct groups to target each group with tailored marketing campaigns. Dataset Description You have been provided with a dataset containing the following columns: TotalAmountSpent: The total amount of money spent by the customer. NumberOfTransactions: The total number of transactions made by the customer. AvgTransactionValue: The average value of each transaction. The dataset in file named "retail_customer_data.csv" contains 100 samples with these three features. in example: TotalAmountSpent NumberOfTransactions AvgTransactionValue 599.3428306 6 99.89047177 472.3471398 11 42.94064907 629.5377076 8 78.69221345 804.6059713 10 80.46059713 453.1693251 9 50.35214723 please create the python code to make the K mean clustering model. may use numpy pandas matplotlib pywidget seabon sklearn pysci code step1: import file into google colab code setp2: make datafram code step3: prepare data and make K mean model. code step4: adjust the k number for very well model. code step5: evaluate model code step6: plot graph to show output of K mean clustering code step7: create function to get input from user to predict the cluster. input use pywidget GUI in colab.</p>]]></description>
         <enclosure url="" />
         <pubDate>2024-06-21 04:06:17 UTC</pubDate>
         <guid>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3034160209</guid>
      </item>
      <item>
         <title>code</title>
         <author>chaightlert</author>
         <link>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3034380488</link>
         <description><![CDATA[<pre><code class="language-notebook-python">%%writefile app.py
import streamlit as st
import joblib
import numpy as np

# Load the model from the .pkl file
model_file_path = 'salary_model.pkl'
model = joblib.load(model_file_path)

def main():
    st.title("Salary Predictor")
    st.write("Enter your years of experience to get a salary prediction.")
    
    # Get user input
    years_of_experience = st.number_input("Enter Year of Experience", min_value=0.0, step=0.1)
    
    # Predict salary based on user input
    if st.button("Predict Salary"):
        try:
            year_input = np.array([[years_of_experience]])
            salary_predict = model.predict(year_input)
            predicted_salary = salary_predict[0][0]  # Ensure we extract the scalar value
            st.write(f"Predicted Salary: ${predicted_salary:.2f}")
        except Exception as e:
            st.write("An error occurred during prediction.")
            st.write(e)
main()
</code></pre>]]></description>
         <enclosure url="" />
         <pubDate>2024-06-21 07:50:45 UTC</pubDate>
         <guid>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3034380488</guid>
      </item>
      <item>
         <title>ip get</title>
         <author>chaightlert</author>
         <link>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3034380657</link>
         <description><![CDATA[<pre><code class="language-notebook-python">!wget -q -O - ipv4.icanhazip.com</code></pre>]]></description>
         <enclosure url="" />
         <pubDate>2024-06-21 07:51:01 UTC</pubDate>
         <guid>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3034380657</guid>
      </item>
      <item>
         <title>runsteam</title>
         <author>chaightlert</author>
         <link>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3034380868</link>
         <description><![CDATA[<pre><code class="language-notebook-python">! streamlit run app.py &amp; npx localtunnel --port 8501</code></pre>]]></description>
         <enclosure url="" />
         <pubDate>2024-06-21 07:51:21 UTC</pubDate>
         <guid>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3034380868</guid>
      </item>
      <item>
         <title>pip instrall</title>
         <author>chaightlert</author>
         <link>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3034381090</link>
         <description><![CDATA[<pre><code class="language-notebook-python">!pip install streamlit</code></pre>]]></description>
         <enclosure url="" />
         <pubDate>2024-06-21 07:51:42 UTC</pubDate>
         <guid>https://padlet.com/chaightlert/uyupsau41urdgdyu/wish/3034381090</guid>
      </item>
   </channel>
</rss>
