<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Dzakiah Putri Farikha on Medium]]></title>
        <description><![CDATA[Stories by Dzakiah Putri Farikha on Medium]]></description>
        <link>https://medium.com/@dzakiahptr?source=rss-ac1d5e76ccaf------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*JS7K-lpHhhuqdZQpyl6cNg.jpeg</url>
            <title>Stories by Dzakiah Putri Farikha on Medium</title>
            <link>https://medium.com/@dzakiahptr?source=rss-ac1d5e76ccaf------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 18:51:56 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@dzakiahptr/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Skincare Products Recommendation System]]></title>
            <link>https://medium.com/@dzakiahptr/skincare-products-recommendation-system-7d3b2c94884c?source=rss-ac1d5e76ccaf------2</link>
            <guid isPermaLink="false">https://medium.com/p/7d3b2c94884c</guid>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[recommendation-system]]></category>
            <category><![CDATA[skincare-products]]></category>
            <dc:creator><![CDATA[Dzakiah Putri Farikha]]></dc:creator>
            <pubDate>Tue, 28 May 2024 15:29:38 GMT</pubDate>
            <atom:updated>2024-05-28T15:29:38.049Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*i-IEAkBfRZVwxtYVkEzyTQ.png" /></figure><p>In this tutorial, we will walk through the steps to build a skincare product recommendation system using Python, Pandas, Scikit-Learn, and Streamlit. This system will recommend products based on various filters and optionally, specific ingredients.</p><h4>1. Import Libraries</h4><p>First, we need to import the necessary libraries:</p><pre>import pandas as pd<br>from sklearn.feature_extraction.text import TfidfVectorizer<br>from sklearn.metrics.pairwise import cosine_similarity<br>import streamlit as st</pre><h4>2. Load the Dataset</h4><p>In exploring trends within the cosmetics industry, I found a comprehensive dataset from Kaggle. The “Cosmetics Datasets” provided by Kingabzpro offer valuable insights into various beauty products, including product categories, prices, and customer reviews. This data enables me to build an effective recommendation system that suggests products to customers based on their preferences and past behaviors.</p><p>Link for the dataset: <a href="https://www.kaggle.com/datasets/kingabzpro/cosmetics-datasets">https://www.kaggle.com/datasets/kingabzpro/cosmetics-datasets</a></p><pre>file_path = &#39;/Users/ikaa/Downloads/skincare 1/cosmetics.csv&#39;<br>df = pd.read_csv(file_path)</pre><h4>3. Prepare the Data</h4><p>Ensure that the ‘Ingredients’ column is used for feature extraction:</p><pre>df[&#39;features&#39;] = df[&#39;Ingredients&#39;]</pre><h4>4. Initialize and Transform TF-IDF</h4><p>Initialize the TF-IDF Vectorizer and transform the features</p><pre>tfidf = TfidfVectorizer(stop_words=&#39;english&#39;)<br>tfidf_matrix = tfidf.fit_transform(df[&#39;features&#39;])</pre><h4>5. Calculate Cosine Similarity</h4><p>Calculate the cosine similarity for all products in the dataset:</p><pre>cosine_sim = cosine_similarity(tfidf_matrix, tfidf_matrix)</pre><h4>6. Create an Index Map</h4><p>Create a reverse map of indices and product names for easy lookup:</p><pre>indices = pd.Series(df.index, index=df[&#39;Name&#39;]).drop_duplicates()</pre><h4>7. Define the Recommendation Function</h4><p>Create a function to recommend products based on filters and optional ingredients:</p><pre>def recommend_cosmetics(skin_type, label_filter, rank_filter, brand_filter, price_range, ingredient_input=None, num_recommendations=10):<br>    recommended_products = df[df[skin_type] == 1]<br>    <br>    if label_filter != &#39;All&#39;:<br>        recommended_products = recommended_products[recommended_products[&#39;Label&#39;] == label_filter]<br>    <br>    recommended_products = recommended_products[<br>        (recommended_products[&#39;Rank&#39;] &gt;= rank_filter[0]) &amp; <br>        (recommended_products[&#39;Rank&#39;] &lt;= rank_filter[1])<br>    ]<br>    <br>    if brand_filter != &#39;All&#39;:<br>        recommended_products = recommended_products[recommended_products[&#39;Brand&#39;] == brand_filter]<br>    <br>    recommended_products = recommended_products[<br>        (recommended_products[&#39;Price&#39;] &gt;= price_range[0]) &amp; <br>        (recommended_products[&#39;Price&#39;] &lt;= price_range[1])<br>    ]<br><br>    if ingredient_input:<br>        vectorizer = TfidfVectorizer(stop_words=&#39;english&#39;)<br>        tfidf_matrix = vectorizer.fit_transform(df[&#39;Ingredients&#39;])<br>        input_vec = vectorizer.transform([ingredient_input])<br>        cosine_similarities = cosine_similarity(input_vec, tfidf_matrix).flatten()<br>        recommended_indices = cosine_similarities.argsort()[-num_recommendations:][::-1]<br>        ingredient_recommendations = df.iloc[recommended_indices]<br>        recommended_products = recommended_products[recommended_products.index.isin(ingredient_recommendations.index)]<br>    <br>    return recommended_products.sort_values(by=[&#39;Rank&#39;]).head(num_recommendations)</pre><p>This function:</p><ul><li>Filters products based on skin type, label, rank, brand, and price range.</li><li>Optionally filters products based on ingredient similarity if ingredients are provided.</li><li>Returns the top recommended products sorted by rank.</li></ul><h4>8. Create the Streamlit App</h4><p>Build the interactive web interface using Streamlit:</p><pre>def main():<br>    st.title(&#39;Skincare Products Recommendation System&#39;)<br><br>    col1, col2, col3 = st.columns(3)<br><br>    with col1:<br>        skin_type = st.selectbox(&#39;Select your skin type:&#39;, (&#39;Combination&#39;, &#39;Dry&#39;, &#39;Normal&#39;, &#39;Oily&#39;, &#39;Sensitive&#39;))<br><br>    unique_labels = df[&#39;Label&#39;].unique().tolist()<br>    unique_labels.insert(0, &#39;All&#39;)<br><br>    with col2:<br>        label_filter = st.selectbox(&#39;Filter by label (optional):&#39;, unique_labels)<br><br>    with col1:<br>        rank_filter = st.slider(&#39;Select rank range:&#39;, min_value=int(df[&#39;Rank&#39;].min()), max_value=int(df[&#39;Rank&#39;].max()), value=(int(df[&#39;Rank&#39;].min()), int(df[&#39;Rank&#39;].max())))<br><br>    unique_brands = df[&#39;Brand&#39;].unique().tolist()<br>    unique_brands.insert(0, &#39;All&#39;)<br><br>    with col2:<br>        brand_filter = st.selectbox(&#39;Filter by brand (optional):&#39;, unique_brands)<br><br>    with col3:<br>        price_range = st.slider(&#39;Select price range:&#39;, min_value=float(df[&#39;Price&#39;].min()), max_value=float(df[&#39;Price&#39;].max()), value=(float(df[&#39;Price&#39;].min()), float(df[&#39;Price&#39;].max())))<br><br>    st.write(&quot;Or enter ingredients to get product recommendations (optional):&quot;) <br>    ingredient_input = st.text_area(&quot;Ingredients (comma-separated)&quot;, &quot;&quot;)<br><br>    if st.button(&#39;Find similar products!&#39;):<br>        top_recommended_products = recommend_cosmetics(skin_type, label_filter, rank_filter, brand_filter, price_range, ingredient_input)<br>        <br>        st.subheader(&#39;Recommended Products&#39;)<br>        st.write(top_recommended_products[[&#39;Label&#39;, &#39;Brand&#39;, &#39;Name&#39;, &#39;Ingredients&#39;, &#39;Rank&#39;]])<br><br>if __name__ == &quot;__main__&quot;:<br>    main()</pre><p>This Streamlit app:</p><ul><li>Collects user input for skin type, label, rank, brand, price range, and optionally ingredients.</li><li>Runs the recommendation function when the user clicks the button.</li><li>Displays the recommended products based on the provided filters.</li></ul><h4>Conclusion</h4><p>By following this tutorial, I have built a complete skincare product recommendation system that can be used to find products based on various criteria and ingredients. Streamlit makes it easy to create an interactive user interface, while Pandas and Scikit-Learn handle the data manipulation and machine learning tasks.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7d3b2c94884c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Sleep and Lifestyle Analysis]]></title>
            <link>https://medium.com/@dzakiahptr/sleep-and-lifestyle-analysis-19ffbfcc9766?source=rss-ac1d5e76ccaf------2</link>
            <guid isPermaLink="false">https://medium.com/p/19ffbfcc9766</guid>
            <dc:creator><![CDATA[Dzakiah Putri Farikha]]></dc:creator>
            <pubDate>Fri, 03 May 2024 16:15:27 GMT</pubDate>
            <atom:updated>2024-05-03T16:15:27.850Z</atom:updated>
            <content:encoded><![CDATA[<p>Sleep is a fundamental aspect of human life, crucial in maintaining physical health, cognitive function, and emotional well-being. However, many individuals face challenges in achieving optimal sleep quality and duration in today&#39;s fast-paced society. Factors such as hectic lifestyles, work-related stress, and technological distractions contribute to sleep disturbances and disorders.</p><p>Studies have found that a lack of quality sleep can increase the risk of obesity, heart disease, diabetes, and other health problems. Furthermore, these findings also indicate that a lack of quality sleep can affect mental health. When the body lacks sleep, it becomes more prone to stress due to the significant increase in cortisol levels, hormones that trigger stress, produced by the body when a person stays up late (Siloam Hospitals Medical Team, 2024).</p><p>Although sleep is a critical factor in maintaining health and well-being, many individuals still experience sleep problems and sleep disorders that can negatively impact their physical and mental health. Therefore, it is essential to understand the factors that influence a person’s sleep quality and their potential impact on overall health.</p><p>A more specific problem statement can be formulated as follows:</p><ul><li>What is the relationship between sleep patterns and other factors such as physical activity, stress, and blood pressure?</li><li>How do factors such as gender and occupation affect a person’s sleep patterns and sleep quality?</li><li>How can stress management and lifestyle changes impact sleep quality and overall health?</li></ul><p>By understanding this problem statement, we can conduct more in-depth analysis using the given dataset to identify relationships between relevant variables and find effective intervention strategies to improve a person’s sleep quality and sleep health.</p><h3>Data Information</h3><p>This dataset has 374 rows and 13 columns that describe information about:</p><ul><li>Person ID: An identifier for each individual.</li><li>Gender: The gender of the person (Male/Female).</li><li>Age: The age of the person in years.</li><li>Occupation: The occupation or profession of the person.</li><li>Sleep Duration (hours): The number of hours the person sleeps per day.</li><li>Quality of Sleep (scale: 1–10): A subjective rating of the quality of sleep, ranging from 1 to 10.</li><li>Physical Activity Level (minutes/day): The number of minutes the person engages in physical activity daily.</li><li>Stress Level (scale: 1–10): A subjective rating of the stress level experienced by the person, ranging from 1 to 10.</li><li>BMI Category: The BMI category of the person (e.g., Underweight, Normal, Overweight).</li><li>Blood Pressure (systolic/diastolic): The blood pressure measurement of the person, indicated as systolic pressure over diastolic pressure.</li><li>Heart Rate (bpm): The resting heart rate of the person in beats per minute.</li><li>Daily Steps: The number of steps the person takes per day.</li><li>Sleep Disorder: The presence or absence of a sleep disorder in the person (None, Insomnia, Sleep Apnea).</li></ul><p><strong>Details about Sleep Disorder Column:</strong></p><ul><li>None: The individual does not exhibit any specific sleep disorder.</li><li>Insomnia: The individual experiences difficulty falling asleep or staying asleep, leading to inadequate or poor-quality sleep.</li><li>Sleep Apnea: The individual suffers from pauses in breathing during sleep, resulting in disrupted sleep patterns and potential health risks.</li></ul><p><strong>Acknowledgement:</strong></p><ul><li>The data presented is synthetic and was created by the author for illustrative purposes.</li></ul><h3>Data Cleaning and Preprocessing</h3><p>Handling missing value:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5Z5Dz_CL-LJFo_-XLB6a7Q.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/492/1*Xw_zl6w5kZny1onnPQmOgg.png" /></figure><p>People with null values under Sleep Disorder might mean they do not have any sleep disorder. So, I replaced the Null values with None and replaced the normal in the BMI Category with normal weight because it means the same thing.</p><p><strong>Correlation between variables</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jvDJ7S1U-kjCKbtdz1le2g.png" /></figure><ul><li>Sleep Duration has a positive correlation with Quality of Sleep (0.88), indicating that longer sleep durations are associated with better sleep quality. It also has a negative correlation with Stress Levels (-0.81), suggesting that longer sleep durations are associated with lower stress levels.</li><li>Physical Activity Level has a positive correlation with Daily Steps (0.77), indicating that individuals with higher physical activity levels tend to take more daily steps.</li><li>Stress Level has a strong negative correlation with both Sleep Duration (-0.81) and Quality of Sleep (-0.90), suggesting that higher stress levels are associated with shorter sleep durations and poorer sleep quality.</li><li>Heart rate has a positive correlation with Stress Levels (0.67). Indicating that poor sleep quality is more likely to have higher stress.</li></ul><h3><strong>Data Visualization</strong></h3><p>Tableau: <a href="https://public.tableau.com/app/profile/dzakiah.putri.farikha/viz/Portfolio2_17146588623450/Dashboard1?publish=yes">https://public.tableau.com/app/profile/dzakiah.putri.farikha/viz/Portfolio2_17146588623450/Dashboard1?publish=yes</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UmH7mxNYlQGp6FehzjpXwA.png" /></figure><p>Dataset: <a href="https://www.kaggle.com/datasets/uom190346a/sleep-health-and-lifestyle-dataset/data">https://www.kaggle.com/datasets/uom190346a/sleep-health-and-lifestyle-dataset/data</a></p><p>References: Siloam Hospitals Medical Team (2024) <em>Important, Here Are 7 Health Impacts of Staying Up Late! </em>, <em>Rumah Sakit Dengan Pelayanan Berkualitas — Siloam hospitals</em>. Available at: <a href="https://www.siloamhospitals.com/en/informasi-siloam/artikel/efek-begadang-bagi-kesehatan#mcetoc_1hlc2vq1cv">https://www.siloamhospitals.com/en/informasi-siloam/artikel/efek-begadang-bagi-kesehatan#mcetoc_1hlc2vq1cv</a> (Accessed: 03 May 2024).</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=19ffbfcc9766" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Memory Test Game]]></title>
            <link>https://medium.com/@dzakiahptr/memory-test-game-0e2645e10aa7?source=rss-ac1d5e76ccaf------2</link>
            <guid isPermaLink="false">https://medium.com/p/0e2645e10aa7</guid>
            <category><![CDATA[memory-test-game]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[game-programming]]></category>
            <dc:creator><![CDATA[Dzakiah Putri Farikha]]></dc:creator>
            <pubDate>Fri, 15 Mar 2024 11:32:12 GMT</pubDate>
            <atom:updated>2024-03-15T11:32:12.770Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*A3KRRJJYP83qGff5zbnRmw.png" /></figure><p>Pentingnya menjaga kesehatan otak dan meningkatkan daya ingat tidak dapat diabaikan. Menjaga atau meningkatkan kesehatan otak dan daya ingat adalah tujuan umum sepanjang hidup, terutama kini dalam kehidupan modern yang penuh dengan informasi. Memori adalah komponen kognitif yang penting dalam kehidupan sehari-hari kita.</p><p>Di masa muda, kita berusaha meningkatkan pematangan dan perkembangan otak kita untuk mencapai tonggak perkembangan pemikiran, tindakan yang diharapkan, dan mencapai tujuan akademik, seperti kesiapan sekolah dan prestasi. Sedangkan tujuan di hari tua nanti adalah untuk menghindari gangguan kognitif dan demensia.</p><h3><strong>Fakta menarik tentang Memory Test Game</strong></h3><p>Dalam tugas-tugas memori jangka pendek, terutama dengan angka atau pola spasial, beberapa simpanse mengungguli manusia. Eksperimen mengungkapkan bahwa simpanse muda dapat dengan cepat mengingat urutan dan posisi angka-angka yang ditampilkan secara singkat di layar, melebihi manusia dewasa. Meskipun manusia unggul dalam banyak bidang kognitif, simpanse memiliki keunggulan dalam tugas-tugas memori tertentu, meskipun alasannya masih diteliti (BBC, 2013).</p><h3><strong>Mengapa Memory Test Game Penting?</strong></h3><p>Memori bukan hanya mengingat di mana Anda meletakkan kunci rumah, dll. Memori sangat penting untuk pembelajaran, pemecahan masalah, dan fungsi kognitif lainnya. Tes memori dapat membantu otak untuk meningkatkan daya ingat dan kewaspadaan.</p><p>Salah satu cara yang menarik dan efektif untuk melatih kemampuan memori adalah dengan menggunakan Memory Test Game. Kita dapat memanfaatkan teknologi dan bahasa pemrograman Python untuk mengasah dan menguji kemampuan memori kita.</p><h3><strong>Memory Test Game dalam Python</strong></h3><p><strong>1.</strong> <strong>Fungsi dan metode tambahan</strong></p><p>Pertama-tama, kita membutuhkan fungsi dan metode tambahan untuk digunakan dalam pembuatan program yaitu import random dan import time. fungsi random menyediakan fungsi-fungsi yang berkaitan dengan pembangkitan angka acak. Dengan mengimpor modul ini, kita dapat membuat program yang lebih dinamis dan acak. Lalu, fungsi time menyediakan fungsi-fungsi yang berkaitan dengan pengukuran waktu dan kontrol waktu dalam program.</p><pre>import random<br>import time</pre><p>Dengan menggunakan fungsi random dan time, kita dapat menambahkan elemen acak dan mengukur waktu dalam program Python dengan lebih mudah dan efisien. Ini sangat berguna dalam pembuatan memory test game.</p><p><strong>2.</strong> <strong>Membuat Urutan Angka Acak</strong></p><p>Lalu, kita membutuhkan fungsi untuk menghasilkan urutan angka acak. Dalam bagian ini, pembaca diperkenalkan pada fungsi ‘angkaAcak(angka)’ yang menggunakan Python untuk membuat urutan angka acak antara 1 hingga 9.</p><p>Fungsi ini menerima parameter angka yang menentukan panjang urutan angka. Menggunakan fungsi `random.randint(1, 9)` untuk menghasilkan angka acak antara 1 dan 9 sebanyak ‘angka’ kali. Hasilnya adalah urutan angka acak.</p><pre>def angkaAcak(angka):<br>    return [random.randint(1, 9) for i in range(angka)]</pre><p><strong>3.</strong> <strong>Menampilkan Urutan untuk Diingat</strong></p><p>Setelah urutan angka dihasilkan, urutan tersebut ditampilkan kepada pemain untuk diingat. Fungsi `tampilan(urutan)’ menjelaskan cara menampilkan urutan secara efektif dan memberi pemain waktu untuk mengingat urutan sebelum layar dibersihkan.</p><pre>def tampilan(urutan):<br>    print(&#39;Ingat-ingat urutan angka berikut: &#39;)<br>    print(&#39; &#39;.join(map(str, urutan)))<br>    time.sleep(2) # menunda program selama 2 detik<br>    print(&#39;\n&#39; * 50)</pre><p><strong>4.</strong> <strong>Meminta Input dari Pemain</strong></p><p>Proses selanjutnya melibatkan penggunaan fungsi `playerInput(angka)` untuk meminta pemain memasukkan urutan angka yang diingat. Fungsi ini dirancang untuk mengatasi input yang tidak valid, seperti karakter bukan angka.</p><pre>def playerInput(angka):<br>    try:<br>        return [int(input(&#39;Masukkan angka: &#39;)) for i in range(angka)]<br>    except ValueError:<br>        print(&#39;Inputan yang Anda masukkan salah. Harap hanya masukkan hanya angka.&#39;)<br>        return playerInput(angka)</pre><p><strong>5.</strong> <strong>Membandingkan Urutan Pemain dengan Urutan Asli</strong></p><p>Setelah pemain memasukkan urutan, kita perlu memeriksa apakah urutan tersebut benar. Fungsi `perbandingan(urutan1, urutan2)` membahas langkah-langkah untuk membandingkan dua urutan dan menentukan apakah pemain mengingat urutan yang benar.</p><pre>def perbandingan(urutan1, urutan2):<br>    return urutan1 == urutan2</pre><p><strong>6.</strong> <strong>Fungsi Utama: Memulai Memory Game Test</strong></p><p>Bagian ini menjelaskan fungsi utama `memory_test_game()` yang menggabungkan semua fungsi sebelumnya untuk memulai permainan tes memori. Langkah-langkah dari menghasilkan urutan hingga menampilkan hasil dan memberikan umpan balik kepada pemain diuraikan dengan jelas.</p><p>Terakhir, fungsi utama `memory_test_game()` menggabungkan semua fungsi di atas untuk memulai permainan. Ini menghasilkan urutan acak, menampilkannya kepada pemain, dan kemudian meminta input dari pemain. Hasilnya kemudian dibandingkan, dan pemain diberi tahu apakah urutan yang diingatnya benar atau salah.</p><pre>def memory_test_game():<br>    print(&#39;Selamat datang di Memory Test Game!&#39;)<br><br>    panjangAngka = 9 <br>    jawabanBenar = angkaAcak(panjangAngka)<br><br>    tampilan(jawabanBenar)<br><br>    print(&#39;Sekarang, masukkan angka-angka tadi: &#39;)<br><br>    jawabanPlayer = playerInput(panjangAngka)<br><br>    if perbandingan(jawabanBenar, jawabanPlayer):<br>        print(&#39;Selamat! Anda mengingat urutan angka tadi dengan benar.&#39;)<br>    else:<br>        print(&#39;Maaf, jawaban yang Anda masukkan salah. Semoga beruntung lain kali.&#39;)</pre><p><strong>7.</strong> <strong>Menjalankan Game dan Meningkatkan Memori Anda</strong></p><p>Kondisi ini memastikan bahwa memory_test_game() dijalankan hanya jika skrip dijalankan sebagai skrip utama (bukan diimpor sebagai modul).</p><pre>memory_test_game()</pre><h3><strong>Output Program</strong></h3><p>Tampilan awal dari program akan seperti ini:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/904/0*bVBZIicZj22H0V9Z" /></figure><p>Lalu, jika pengguna bisa mengingat angka tersebut dengan benar maka tampilannya akan seperti ini:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/928/0*yFrtO82FxJgM4qy4" /></figure><p>Jika pengguna memasukkan angka yang salah tampilannya akan seperti ini:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/936/0*uDGFqo-lx2l-z669" /></figure><h3><strong>Kesimpulan</strong></h3><p>Dengan mengikuti langkah-langkah ini, pembaca akan memiliki pemahaman mendalam tentang pembuatan program tes memori sederhana menggunakan Python. Artikel ini memberikan fondasi yang kokoh untuk mereka yang ingin memahami lebih lanjut tentang pengembangan permainan sederhana dan kaitannya dengan latihan memori. Pemain juga dapat berlatih dan meningkatkan kemampuan memori mereka lewat program ini. Sesuaikan panjang urutan atau tambahkan fitur tambahan untuk membuatnya lebih menarik. Semakin sering Anda berlatih, semakin baik kemampuan memori Anda akan menjadi. Selamat bermain dan tetap asah kognitif!</p><h3><strong>References</strong></h3><p><em>Chimp vs human! | memory test | BBC earth</em> (2013) <em>YouTube</em>. Available at: <a href="https://www.youtube.com/watch?v=zsXP8qeFF6A">https://www.youtube.com/watch?v=zsXP8qeFF6A</a> (Accessed: 04 March 2024).</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0e2645e10aa7" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>