<?xml version="1.0"?>
<rss version="2.0">
   <channel>
      <title>My fancy padlet by Kah Yong Joel Ho</title>
      <link>https://padlet.com/joel_ho2/fzr9yfnqturv1yjf</link>
      <description></description>
      <language>en-us</language>
      <pubDate>2024-03-05 06:02:05 UTC</pubDate>
      <lastBuildDate>2024-03-05 06:29:29 UTC</lastBuildDate>
      <webMaster>hello@padlet.com</webMaster>
      <image>
         <url></url>
      </image>
      <item>
         <title>Aqeel 3-4</title>
         <author></author>
         <link>https://padlet.com/joel_ho2/fzr9yfnqturv1yjf/wish/2905713958</link>
         <description><![CDATA[<p>A simple code with 3 syntax errors</p><p><br></p><p>1) Correct this errors</p><p>2) Find a way to ensure such that variables x and y are inputs</p><p><br></p><p>The code:</p><p>x = 5
y = 10
z = x + y
print("The value of z is: ", z</p><pre><code class="language-notebook-python"></code></pre>]]></description>
         <enclosure url="" />
         <pubDate>2024-03-05 06:08:24 UTC</pubDate>
         <guid>https://padlet.com/joel_ho2/fzr9yfnqturv1yjf/wish/2905713958</guid>
      </item>
      <item>
         <title>JC 3 syntax and 1 logical errors</title>
         <author></author>
         <link>https://padlet.com/joel_ho2/fzr9yfnqturv1yjf/wish/2905714923</link>
         <description><![CDATA[<pre><code class="language-notebook-python">def binary_to_decimal(binary_str:
    decimal_number = int(binary_str, 2
    return decimal_number * 2 

# Example usage:
binary_number = "101010"
decimal_result = binary_to_decimal(binary_number)
print(f"The decimal representation of {binary_number} is: {decimal_result}"</code></pre>]]></description>
         <enclosure url="" />
         <pubDate>2024-03-05 06:09:07 UTC</pubDate>
         <guid>https://padlet.com/joel_ho2/fzr9yfnqturv1yjf/wish/2905714923</guid>
      </item>
      <item>
         <title>jes (3 syn, 1 logic)</title>
         <author></author>
         <link>https://padlet.com/joel_ho2/fzr9yfnqturv1yjf/wish/2905715129</link>
         <description><![CDATA[<pre><code class="language-notebook-python">
def min(a,b):
  if (a=b):
    return B
  elif a&gt;b:
  return A
  else:
    return("dict( ͡° ͜ʖ ͡°)")</code></pre>]]></description>
         <enclosure url="" />
         <pubDate>2024-03-05 06:09:15 UTC</pubDate>
         <guid>https://padlet.com/joel_ho2/fzr9yfnqturv1yjf/wish/2905715129</guid>
      </item>
      <item>
         <title>jayden (2 syntax error)</title>
         <author></author>
         <link>https://padlet.com/joel_ho2/fzr9yfnqturv1yjf/wish/2905718277</link>
         <description><![CDATA[<p>def calculate_sum(numbers)</p><p>    sum = 0</p><p>    for number in numbers:</p><p>        sum += number</p><p>    return sum</p><p>numbers = [1, 2, 3, 4, 5]</p><p>sum = calculate_sum(numbers)</p><p>print("Total Sum:", sum)</p><p><br/></p>]]></description>
         <enclosure url="" />
         <pubDate>2024-03-05 06:11:39 UTC</pubDate>
         <guid>https://padlet.com/joel_ho2/fzr9yfnqturv1yjf/wish/2905718277</guid>
      </item>
      <item>
         <title>Kexuan (2 logical and 2 syntax error)</title>
         <author></author>
         <link>https://padlet.com/joel_ho2/fzr9yfnqturv1yjf/wish/2905718417</link>
         <description><![CDATA[<p>def calculate_average(numbers:</p><p>    total = sum(numbers)</p><p>    return total / len(numbers</p><p>def calculate_corrected_average(numbers):</p><p>    return sum(numbers)</p><p>numbers = [1, 2, 3, 4, 5]</p><p>print("Average:", calculate_average(numbers))</p><p>print("Corrected Average:", calculate_corrected_average(numbers))</p><p><br></p>]]></description>
         <enclosure url="" />
         <pubDate>2024-03-05 06:11:46 UTC</pubDate>
         <guid>https://padlet.com/joel_ho2/fzr9yfnqturv1yjf/wish/2905718417</guid>
      </item>
      <item>
         <title>yingxin</title>
         <author></author>
         <link>https://padlet.com/joel_ho2/fzr9yfnqturv1yjf/wish/2905728586</link>
         <description><![CDATA[<p>3 syntax error</p><p><br/></p><p>def my_function:</p><p>          print("Hello world!")</p><p><br/></p><p>my_function()</p>]]></description>
         <enclosure url="" />
         <pubDate>2024-03-05 06:19:27 UTC</pubDate>
         <guid>https://padlet.com/joel_ho2/fzr9yfnqturv1yjf/wish/2905728586</guid>
      </item>
      <item>
         <title>Yuheng 1 Syntax, 1 to 2 Logic Errors</title>
         <author></author>
         <link>https://padlet.com/joel_ho2/fzr9yfnqturv1yjf/wish/2905729879</link>
         <description><![CDATA[<pre><code class="language-notebook-python">class Drinks
 def __init__(self, name, cost):
 
  self.name = name
  self.cost = cost


soda = Drinks("Cocaine Cola", 3)
water = Drinks("Disgusting Water", 0.99)
coffee = Drinks("Mild Energy Drink", 1)
milk = Drinks("Rich Milk", 234)

drink = [soda, water, coffee, milk]

money = 5

print(f"You have ${money}.")
for i, item in enumerate(drink):
  print(f"{i + 1}. {item.name}. Cost ${item.cost}")

print("What you want to buy. I got no time")
buyWhat = input()
costy = drink[buyWhat].cost
if money &lt; int(costy):
  print("Nah you're broke for that")
else:
  print(f"K. Here's your {drink[buyWhat].name}")</code></pre><p><br/></p><p>#inspired by colin :D </p>]]></description>
         <enclosure url="" />
         <pubDate>2024-03-05 06:20:24 UTC</pubDate>
         <guid>https://padlet.com/joel_ho2/fzr9yfnqturv1yjf/wish/2905729879</guid>
      </item>
      <item>
         <title>Kishore(2 syntax 1 logical error)</title>
         <author></author>
         <link>https://padlet.com/joel_ho2/fzr9yfnqturv1yjf/wish/2905733609</link>
         <description><![CDATA[<pre><code class="language-notebook-python">def calculate_discounted_price(original_price, discount_percentage)
    discounted_price = original_price - (original_price * discount_percentage / 100)
    
    print("Discounted Price:", discounted_price)
    return discounted_price

calculate_discounted_price(100, 20)</code></pre>]]></description>
         <enclosure url="" />
         <pubDate>2024-03-05 06:23:27 UTC</pubDate>
         <guid>https://padlet.com/joel_ho2/fzr9yfnqturv1yjf/wish/2905733609</guid>
      </item>
      <item>
         <title>yuqian 1 syntax</title>
         <author></author>
         <link>https://padlet.com/joel_ho2/fzr9yfnqturv1yjf/wish/2905735247</link>
         <description><![CDATA[<pre><code class="language-notebook-python">def is_prime(num)
  if num &lt;= 1
        return False
    for i in range(2, int(num**0.5) + 1):
        if num % i == 0:
            return False
    return True
</code></pre>]]></description>
         <enclosure url="" />
         <pubDate>2024-03-05 06:25:11 UTC</pubDate>
         <guid>https://padlet.com/joel_ho2/fzr9yfnqturv1yjf/wish/2905735247</guid>
      </item>
   </channel>
</rss>
