<?xml version="1.0"?>
<rss version="2.0">
   <channel>
      <title>Calculator App by Nida  Tanveer</title>
      <link>https://padlet.com/24100091_1/1fbfgdj97xagz7zr</link>
      <description></description>
      <language>en-us</language>
      <pubDate>2024-02-16 12:01:21 UTC</pubDate>
      <lastBuildDate>2024-02-16 14:22:59 UTC</lastBuildDate>
      <webMaster>hello@padlet.com</webMaster>
      <image>
         <url>https://padlet.net/icons/png/1f4bb.png</url>
      </image>
      <item>
         <title>Questions</title>
         <author>24100091_1</author>
         <link>https://padlet.com/24100091_1/1fbfgdj97xagz7zr/wish/2885938068</link>
         <description><![CDATA[<ol><li><p>What functions will you need for your calculator app?</p></li><li><p>Do you need to use loops anywhere?</p></li><li><p>How will you go about your code (brief plan)?</p></li></ol>]]></description>
         <enclosure url="" />
         <pubDate>2024-02-16 12:11:22 UTC</pubDate>
         <guid>https://padlet.com/24100091_1/1fbfgdj97xagz7zr/wish/2885938068</guid>
      </item>
      <item>
         <title>Wania Awais</title>
         <author></author>
         <link>https://padlet.com/24100091_1/1fbfgdj97xagz7zr/wish/2885938256</link>
         <description><![CDATA[<ol><li><p>Add, subtract,multiply and divide real numbers, integers and fractions, decimals. Exception handling for division by 0 for example. </p></li><li><p>Loop for checking sensible input values eg to ensure that a number is entered.</p></li><li><p>Define functions</p><p>• while loop to rerun the code</p><p>• Ask for inputs</p><p>• Choice of function</p><p>• output result</p><p>• Ask for more function otherwise terminate the loop.</p></li></ol>]]></description>
         <enclosure url="" />
         <pubDate>2024-02-16 12:11:36 UTC</pubDate>
         <guid>https://padlet.com/24100091_1/1fbfgdj97xagz7zr/wish/2885938256</guid>
      </item>
      <item>
         <title>Khaula Waheed</title>
         <author></author>
         <link>https://padlet.com/24100091_1/1fbfgdj97xagz7zr/wish/2885938659</link>
         <description><![CDATA[<ol><li><p>addition </p></li></ol><p>subtraction</p><p>multiplication</p><p>division</p><ol start="2"><li><p>we can use loops for if the user needs to do calculations multiple times</p></li></ol><p><br></p>]]></description>
         <enclosure url="" />
         <pubDate>2024-02-16 12:12:07 UTC</pubDate>
         <guid>https://padlet.com/24100091_1/1fbfgdj97xagz7zr/wish/2885938659</guid>
      </item>
      <item>
         <title>Shaiza Khan</title>
         <author></author>
         <link>https://padlet.com/24100091_1/1fbfgdj97xagz7zr/wish/2885939162</link>
         <description><![CDATA[<ol><li><p>Functions:</p><p>Addition</p><p>Subtraction</p><p>Multiplication</p><p>Division</p><p>(others for a complex calculator: squares, cubes, roots etc)</p></li><li><p>We can use loops to get more inputs or run the program again and again</p></li><li><p>-Define all of the functions</p><p>-Add the two variable numbers and assign them the two user input numbers</p><p>-Take input from user, can be in for of 1.Add, 2. Subtract etc</p><p>-Use if-else statements to see if input is equal to 1,2, 3 or 4 using ==</p><p>-Output final ans using print statement</p></li><li><p>Code:</p><p>def addtion(num1,num2):</p><p>  add= num1+ num2</p><p>  return add</p><p>  </p><p>def subtraction(num1,num2):</p><p>  sub= num1-num2</p><p>  return sub</p><p>def multiply(num1,num2):</p><p>  mul= num1*num2</p><p>  return mul</p><p>  </p><p>def divide(num1,num2):</p><p>  div= num1/num2</p><p>  return div</p><p>  </p><p>def main():</p><p>  cont= True</p><p>  while cont==True:</p><p>    num1=int(input("Enter the 1st number: "))</p><p>    num2=int(input("Enter the 2nd number: "))</p><p>    func = input("Enter operation +,-,*,/: ")</p><p>    </p><p>    if func=="+": </p><p>      print("Answer: ", addtion(num1,num2))</p><p>    elif func=="-":</p><p>      print("Answer: ", subtraction(num1,num2))</p><p>    elif func=="*":</p><p>      print("Answer: ", multiply(num1,num2))</p><p>    elif func=="/":</p><p>      if num2!=0:</p><p>        print("Answer: ", divide(num1,num2))</p><p>      else:</p><p>        print("Zero Error, can't divide by zero")</p><p>    else:</p><p>      print("Invalid operation. Please input a valid operation")</p><p>      </p><p>    will_cont= input("Type yes to continue or Type no to exit ")</p><p>    if will_cont=="yes":</p><p>      cont=True</p><p>    else:</p><p>      cont=False</p><p>main()</p><p>    </p><p><br/></p></li></ol>]]></description>
         <enclosure url="" />
         <pubDate>2024-02-16 12:12:53 UTC</pubDate>
         <guid>https://padlet.com/24100091_1/1fbfgdj97xagz7zr/wish/2885939162</guid>
      </item>
      <item>
         <title>Hajra Nauman</title>
         <author></author>
         <link>https://padlet.com/24100091_1/1fbfgdj97xagz7zr/wish/2885939535</link>
         <description><![CDATA[<p>add, subtract,multiply,divide</p><p>sin cos tan</p><p>value of π</p><p>using percentage</p>]]></description>
         <enclosure url="" />
         <pubDate>2024-02-16 12:13:26 UTC</pubDate>
         <guid>https://padlet.com/24100091_1/1fbfgdj97xagz7zr/wish/2885939535</guid>
      </item>
      <item>
         <title></title>
         <author></author>
         <link>https://padlet.com/24100091_1/1fbfgdj97xagz7zr/wish/2885940032</link>
         <description><![CDATA[<p>Square, cube root, logs </p>]]></description>
         <enclosure url="" />
         <pubDate>2024-02-16 12:14:04 UTC</pubDate>
         <guid>https://padlet.com/24100091_1/1fbfgdj97xagz7zr/wish/2885940032</guid>
      </item>
      <item>
         <title>Minahil Nadeem </title>
         <author></author>
         <link>https://padlet.com/24100091_1/1fbfgdj97xagz7zr/wish/2885940187</link>
         <description><![CDATA[<p>Subtraction </p><p>Addition</p><p>Multiplication </p><p>Division </p><p>Trignometric functions </p><p><br/></p><p>We can use loops so that the user can perform multiple functions </p><p><br/></p><p>We will import math, define functions and ask for input and then return output and so on.</p>]]></description>
         <enclosure url="" />
         <pubDate>2024-02-16 12:14:17 UTC</pubDate>
         <guid>https://padlet.com/24100091_1/1fbfgdj97xagz7zr/wish/2885940187</guid>
      </item>
      <item>
         <title>Zainab Bilal</title>
         <author></author>
         <link>https://padlet.com/24100091_1/1fbfgdj97xagz7zr/wish/2885940825</link>
         <description><![CDATA[<p>Addition</p><p>Subtraction</p><p>Multiplication</p><p>Division</p><p>Clear</p><p>Decimal</p><p>Evaluate Expression</p><p><br/></p><p>LOOPS:</p><p>We may have a loop that continuously waits for user input until they choose to exit the program.</p><p><br/></p><p>Include different components like number buttons, operator buttons, clear buttons, and an equals button. The interface should be intuitive and user-friendly, facilitating easy input and interaction</p>]]></description>
         <enclosure url="" />
         <pubDate>2024-02-16 12:15:11 UTC</pubDate>
         <guid>https://padlet.com/24100091_1/1fbfgdj97xagz7zr/wish/2885940825</guid>
      </item>
      <item>
         <title>Emaan Omar</title>
         <author></author>
         <link>https://padlet.com/24100091_1/1fbfgdj97xagz7zr/wish/2885940865</link>
         <description><![CDATA[<p>Functions:</p><p>Basic 4:</p><ul><li><p>Addition</p></li><li><p>Subtraction</p></li><li><p>Multiplication</p></li><li><p>Division</p></li></ul><p>More can be added (like exponents, roots, pi, trignometric ratios, etc.)</p><p><br/></p><p>Loops:</p><p>The actual "app" itself would run off a while loop, so that the user can input multiple functions. Otherwise, most functions wouldn't need them</p><p><br/></p><p>Method:</p><ul><li><p>Define the functions.</p></li><li><p>Use a while loop to rerun the code.</p></li><li><p>Ask for inputs based on function being run</p></li><li><p>Output answer</p></li><li><p>Ask user if they want to try any more functions (if they say no, terminate the loop. if they say yes, restart.)</p></li></ul><p>Code:</p><p>def add(num1, num2):</p><p>  return num1 + num2</p><p>  </p><p>def subtract(num1, num2):</p><p>  return num1 - num2</p><p><br/></p><p>def multiply(num1, num2):</p><p>  return num1 * num2</p><p><br/></p><p>def divide(num1, num2):</p><p>  try:</p><p>    return num1 / num2</p><p><br/></p><p>  except ZeroDivisionError:</p><p>    return("You tried to divide by 0!")</p><p><br/></p><p><br/></p><p>def main():</p><p>  rerun_code = True</p><p>  </p><p>  while rerun_code:</p><p>    </p><p>    try:</p><p>      operation = int(input("Enter a number: \n1. Add \n2. Subtract \n3. Multiply \n4. Divide \n"))</p><p>      </p><p>    except ValueError:</p><p>      print("Please enter a number!")</p><p>      continue</p><p>  </p><p>    if operation != 1 and operation != 2 and operation != 3 and operation != 4:</p><p>      print("Please enter a valid number.")</p><p>      continue</p><p>      </p><p>    while True:</p><p>      try:</p><p>        num1 = int(input("Number 1: "))</p><p>        num2 = int(input("Number 2: "))</p><p>        </p><p>      except ValueError:</p><p>        print("Please enter a number!")</p><p>        continue</p><p>        </p><p>      else:</p><p>        break</p><p>      </p><p>    if operation == 1:</p><p>      print(add(num1, num2))</p><p>      </p><p>    elif operation == 2:</p><p>      print(subtract(num1, num2))</p><p>      </p><p>    elif operation == 3:</p><p>      print(multiply(num1, num2))</p><p>      </p><p>    elif operation == 4:</p><p>      print(divide(num1, num2))</p><p>  </p><p>    rerun = input("Do you want to do another calculation? (Y/N) \n")</p><p>    </p><p>    if rerun.lower() == "y":</p><p>      rerun_code = True</p><p>      </p><p>    elif rerun.lower() == "n":</p><p>      rerun_code = False</p><p>      </p><p>    else:</p><p>      print("Please enter Y or N.")</p><p>if __<strong>name__</strong> == "__main__":</p><p>  main()</p><p><br/></p><p><br/></p><p><br/></p><p><br/></p>]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/2334780157/3d8af01d18f66cf3b4ba8cb62618ef5c/pic.png" />
         <pubDate>2024-02-16 12:15:15 UTC</pubDate>
         <guid>https://padlet.com/24100091_1/1fbfgdj97xagz7zr/wish/2885940865</guid>
      </item>
      <item>
         <title>Jihaan hashim </title>
         <author></author>
         <link>https://padlet.com/24100091_1/1fbfgdj97xagz7zr/wish/2885941717</link>
         <description><![CDATA[<p>Addition subtraction multiplication division</p><p>We probably will need to use loops for error navigation</p><p><br/></p>]]></description>
         <enclosure url="" />
         <pubDate>2024-02-16 12:16:22 UTC</pubDate>
         <guid>https://padlet.com/24100091_1/1fbfgdj97xagz7zr/wish/2885941717</guid>
      </item>
      <item>
         <title>Abeeha Fatima</title>
         <author></author>
         <link>https://padlet.com/24100091_1/1fbfgdj97xagz7zr/wish/2885942413</link>
         <description><![CDATA[<p>Functions: we’ll be using various arithmetic operations such as addition, subtraction, division, multiplication, square root function by importing math and exponentiate numbers.  </p><p>Loops: we can use a user input loop to continuously ask the user for various inputs like a while loop. We are also going to be requiring loops for handling invalid values as well as error handling loops(like checking for division with zero) until a valid value is provided. </p><p>Method:</p><p>We are going to define functions and operations and implement mechanisms to ask user for input, calculating using the required operations and asking the output to be displayed to the user. We can also add scientific functions like sin, cos,tan etc.</p><p><br/></p>]]></description>
         <enclosure url="" />
         <pubDate>2024-02-16 12:17:20 UTC</pubDate>
         <guid>https://padlet.com/24100091_1/1fbfgdj97xagz7zr/wish/2885942413</guid>
      </item>
      <item>
         <title>Hibbah shafique </title>
         <author></author>
         <link>https://padlet.com/24100091_1/1fbfgdj97xagz7zr/wish/2885942849</link>
         <description><![CDATA[<p><strong>1</strong>.) functions:</p><ol><li><p>addition</p></li><li><p>subtraction</p></li><li><p>division</p></li><li><p>multiplications</p></li></ol><p><strong>2</strong>) Modules:</p><p>math module for: (square root, pi etc.)</p><p><strong>3</strong>) exception handling (e.g. division by error)</p><p><strong>4) </strong>The app would run off a while loop</p><p><br/></p><p><br/></p><p><br/></p><p>num1=0</p><p>num2=0</p><p>while_continue=0</p><p>def addition_function(num1,num2):</p><p>  return sum(num1,num2)</p><p>def subtraction_function(num1,num2):</p><p>  return num1-num2</p><p>def multiplication_function(num1,num2):</p><p>  return num1*num2</p><p>def division_function(num1,num2):</p><p>  return num1/num2</p><p>def main():</p><p>  ans=0</p><p>  running=True</p><p>  while running:</p><p>    print("welcome to the calculator")</p><p>    num1=int(input("Enter a number"))</p><p>    num2=int(input("Enter another number"))</p><p>    op=input("Enter opperation [+ - * /]")</p><p>    if op=="+":</p><p>      ans= addition_function(num1,num2)</p><p>      print("Your answer is:",ans)</p><p>    elif op=="-":</p><p>      ans=subtraction_function(num1,num2)</p><p>      print("Your answer is:",ans)</p><p>    elif op=="*":</p><p>      ans=multiplication_function(num1,num2)</p><p>      print("Your answer is :",ans)</p><p>    else:</p><p>      try:</p><p>        if num2!=0 and  op=="/":</p><p>           ans=division_function(num1,num2)</p><p>           print("Your answer is:",ans)</p><p>      except ZeroDivisionError:</p><p>        print("You cant divide by zero")</p><p>      else:</p><p>        print("Invalid opperation")</p><p>        </p><p>      will_continue=input("Do you want to continue? [y/n]")</p><p>      print(will_continue)</p><p>      if will_continue=="y":</p><p>        running=True</p><p>      elif will_continue=="n":</p><p>        running=False</p><p>        print("Program has ended")</p><p>if <strong>name</strong> == "__main__":</p><p>  main()</p><p><br/></p><p><br/></p>]]></description>
         <enclosure url="" />
         <pubDate>2024-02-16 12:17:57 UTC</pubDate>
         <guid>https://padlet.com/24100091_1/1fbfgdj97xagz7zr/wish/2885942849</guid>
      </item>
      <item>
         <title>Emaan Arif</title>
         <author></author>
         <link>https://padlet.com/24100091_1/1fbfgdj97xagz7zr/wish/2885943129</link>
         <description><![CDATA[<ol><li><p>functions for finding logs, square roots, or any other exponential functions. basic mathematical functions such as multiplication, division, addition and subtraction, trigonometric function etc.</p></li><li><p>loops are used to constantly prompt the user to input a number until the user decides to turn the calculator off.</p></li></ol>]]></description>
         <enclosure url="" />
         <pubDate>2024-02-16 12:18:18 UTC</pubDate>
         <guid>https://padlet.com/24100091_1/1fbfgdj97xagz7zr/wish/2885943129</guid>
      </item>
      <item>
         <title>Aima Hassan </title>
         <author></author>
         <link>https://padlet.com/24100091_1/1fbfgdj97xagz7zr/wish/2885943318</link>
         <description><![CDATA[<ol><li><p>arithmetic functions </p></li><li><p>we can use loops if the user wants to repeat some output </p></li></ol>]]></description>
         <enclosure url="" />
         <pubDate>2024-02-16 12:18:37 UTC</pubDate>
         <guid>https://padlet.com/24100091_1/1fbfgdj97xagz7zr/wish/2885943318</guid>
      </item>
      <item>
         <title></title>
         <author></author>
         <link>https://padlet.com/24100091_1/1fbfgdj97xagz7zr/wish/2885943930</link>
         <description><![CDATA[<p>Amber Farooq </p><p>define functions for addition, subtraction, multiplication, division. </p><p>loops can be used to perform continuous functions until the user chooses to exit. </p><p><br/></p>]]></description>
         <enclosure url="" />
         <pubDate>2024-02-16 12:19:29 UTC</pubDate>
         <guid>https://padlet.com/24100091_1/1fbfgdj97xagz7zr/wish/2885943930</guid>
      </item>
      <item>
         <title>Aimen Nadeem </title>
         <author></author>
         <link>https://padlet.com/24100091_1/1fbfgdj97xagz7zr/wish/2885944008</link>
         <description><![CDATA[<p>Q1:</p><p>the four basic operations:</p><p>division </p><p>multiplication </p><p>addition </p><p>subtraction </p><p>additionally:</p><p>trigonometric functions</p><p>exponential functions </p><p>logarithmic functions</p><p>inbuilt value of pi </p><p><br/></p><p>etc </p><p>Q2: can be used for multiple values using list comprehension </p><p>Q3.</p><p>Take user input to use values </p><p>take user input for what is to be done for values</p><p>write code for basic functions </p><p>code to give value for task asked</p><p>print result</p>]]></description>
         <enclosure url="" />
         <pubDate>2024-02-16 12:19:37 UTC</pubDate>
         <guid>https://padlet.com/24100091_1/1fbfgdj97xagz7zr/wish/2885944008</guid>
      </item>
      <item>
         <title>Zainab Zahra Cheema</title>
         <author></author>
         <link>https://padlet.com/24100091_1/1fbfgdj97xagz7zr/wish/2885944265</link>
         <description><![CDATA[<ol><li><p>We would definitely need some basic mathematical functions such as:</p><p>i) multiplication</p><p>ii) division</p><p>iii) subtraction</p><p>iv) addition</p></li><li><p>If the user has put an invalid value, then a loop can be used to prompt the user to keep on inputting c=values until he/she applies a valid input.</p></li><li><p>i) define the functions</p><p>ii) define calculator </p><p>iii) take input for the numbers</p><p>iv) apply the specific function required to the numbers</p><p>v) run the calculator</p></li></ol>]]></description>
         <enclosure url="" />
         <pubDate>2024-02-16 12:20:00 UTC</pubDate>
         <guid>https://padlet.com/24100091_1/1fbfgdj97xagz7zr/wish/2885944265</guid>
      </item>
      <item>
         <title>Eishal Rizvi</title>
         <author></author>
         <link>https://padlet.com/24100091_1/1fbfgdj97xagz7zr/wish/2885944519</link>
         <description><![CDATA[<ol><li><p>Addition </p><p>Subtraction </p><p>Multiplication </p><p>Division </p></li><li><p>use a loop in the beginning to make sure we get a valid response from the user or to get multiple responses</p></li><li><p>define functions then ask for user input and use the functions acc to the operations they select</p></li></ol>]]></description>
         <enclosure url="" />
         <pubDate>2024-02-16 12:20:26 UTC</pubDate>
         <guid>https://padlet.com/24100091_1/1fbfgdj97xagz7zr/wish/2885944519</guid>
      </item>
      <item>
         <title>Alizae Fatima</title>
         <author></author>
         <link>https://padlet.com/24100091_1/1fbfgdj97xagz7zr/wish/2885944693</link>
         <description><![CDATA[<p>Operators performed by cal: Addition, Subtraction, Division, Multiplication</p><p>Loops are used for repetitive tasks and iterating over data collections by  repeating a block of code based on specific conditions like based on the operator used.</p><p>We receive inputs from the user and then, depending on the chosen operator, conditions are evaluated and the function is executed accordingly.</p><p><br></p>]]></description>
         <enclosure url="" />
         <pubDate>2024-02-16 12:20:43 UTC</pubDate>
         <guid>https://padlet.com/24100091_1/1fbfgdj97xagz7zr/wish/2885944693</guid>
      </item>
      <item>
         <title>Aeman Zehra</title>
         <author>aemanzehra10az</author>
         <link>https://padlet.com/24100091_1/1fbfgdj97xagz7zr/wish/2885944905</link>
         <description><![CDATA[<p>def add(x, y):</p><p>  return x + y</p><p>def sub(x, y):</p><p>  return x - y</p><p>def mul(x, y):</p><p>  return x * y</p><p>def div(x, y):</p><p>  return x / y</p><p>def main():</p><p>  running = True  </p><p>  while running:</p><p>    num1 = int(input("Enter number 1: "))</p><p>    num2 = int(input("Enter number 2: "))</p><p>    op = input("Enter operation(+ - * /):")</p><p>    if op=="+":</p><p>      ans = add(num1, num2)</p><p>      print("Answer: ",ans)</p><p>    elif op=="-":</p><p>      ans = sub(num1, num2)</p><p>      print("Answer: ",ans)</p><p>    elif op=="*":</p><p>      ans = mul(num1, num2)</p><p>      print("Answer: ", ans)</p><p>    elif op=="/":</p><p>      if num2!=0:</p><p>        ans = div(num1, num2)</p><p>        print("Answer: ", ans)</p><p>      else:</p><p>        print("Error, division by 0")</p><p>    else:</p><p>      print("Please pick one from (+ - * /")</p><p>    will_continue = input("Type 'yes'to continue and 'no' to exit")</p><p>    if will_continue=="no":</p><p>      running = False</p><p>if <strong>name</strong> == "__main__":</p><p>  main()</p><p>  </p>]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/2334783311/60206697d7ac1e9b708d5b34402aec5c/Screenshot_2024_02_16_185336.png" />
         <pubDate>2024-02-16 12:21:02 UTC</pubDate>
         <guid>https://padlet.com/24100091_1/1fbfgdj97xagz7zr/wish/2885944905</guid>
      </item>
      <item>
         <title>Maryam Ammar</title>
         <author></author>
         <link>https://padlet.com/24100091_1/1fbfgdj97xagz7zr/wish/2885944961</link>
         <description><![CDATA[<p>Functions:</p><p>-Addition</p><p>-Subtraction</p><p>-Multiplication</p><p>-Division</p><p>(Others include squares, roots, decimals, fractions)</p><p><br/></p><p>Loops to be used for user input if it needs to be done multiple times</p><p><br/></p><p><br/></p><p>We will import math, define the functions, use loops, ask for input call the functions and so on</p>]]></description>
         <enclosure url="" />
         <pubDate>2024-02-16 12:21:08 UTC</pubDate>
         <guid>https://padlet.com/24100091_1/1fbfgdj97xagz7zr/wish/2885944961</guid>
      </item>
      <item>
         <title>Sarah Iftikhar</title>
         <author></author>
         <link>https://padlet.com/24100091_1/1fbfgdj97xagz7zr/wish/2885945163</link>
         <description><![CDATA[<p>1- addition, subtraction, division, multiplication, square root, cube root</p><p><br/></p><p>2-  code would run on a while loop</p><p><br/></p><p>3- defining functions, asking for input, output answer </p>]]></description>
         <enclosure url="" />
         <pubDate>2024-02-16 12:21:28 UTC</pubDate>
         <guid>https://padlet.com/24100091_1/1fbfgdj97xagz7zr/wish/2885945163</guid>
      </item>
      <item>
         <title></title>
         <author></author>
         <link>https://padlet.com/24100091_1/1fbfgdj97xagz7zr/wish/2885946081</link>
         <description><![CDATA[<p>Zaynab Syed Mohsin </p><p><br/></p><p>Functions:</p><p>addition</p><p>subtraction</p><p>multiplication</p><p>division</p><p>clear option </p><p>delete option </p><p><br/></p><p>2) Loops would be needed as every person would enter numbers and do calculations.</p><p><br/></p><p>3) I'm not so sure about it but first we would need to define and declare the functions and variables we would be using and put those in a loop so we can do calculations over and over again </p>]]></description>
         <enclosure url="" />
         <pubDate>2024-02-16 12:22:51 UTC</pubDate>
         <guid>https://padlet.com/24100091_1/1fbfgdj97xagz7zr/wish/2885946081</guid>
      </item>
      <item>
         <title>zaira hussain</title>
         <author></author>
         <link>https://padlet.com/24100091_1/1fbfgdj97xagz7zr/wish/2885946547</link>
         <description><![CDATA[<ol><li><p>addition, subrtaction, multiplication, divison, modulus, sqaure root,log </p></li><li><p>we use a while loop so that the calculator keeps asking for input everytime a calculation has been done, until it is switched off.</p><p><br/></p></li></ol>]]></description>
         <enclosure url="" />
         <pubDate>2024-02-16 12:23:30 UTC</pubDate>
         <guid>https://padlet.com/24100091_1/1fbfgdj97xagz7zr/wish/2885946547</guid>
      </item>
      <item>
         <title>Alveena Andrabi</title>
         <author></author>
         <link>https://padlet.com/24100091_1/1fbfgdj97xagz7zr/wish/2885946949</link>
         <description><![CDATA[<ol><li><p>basic operations: addition, subtraction, multiplication, division, trigonometric ratios, pi, roots and exponents, exception handing for division by 0 etc.</p></li><li><p>loops might be used but wouldn't be required for the other basic functions.</p></li><li><p>the functions would need to be defined, input would be taken from the user, the specific functions required would be called and then it would be run for the output to be displayed to the user.</p></li></ol>]]></description>
         <enclosure url="" />
         <pubDate>2024-02-16 12:24:09 UTC</pubDate>
         <guid>https://padlet.com/24100091_1/1fbfgdj97xagz7zr/wish/2885946949</guid>
      </item>
      <item>
         <title>khadeeja imran</title>
         <author></author>
         <link>https://padlet.com/24100091_1/1fbfgdj97xagz7zr/wish/2885947035</link>
         <description><![CDATA[<p>division, multiplication, addition,subtraction </p><p>trigonometric ratios </p><p>the square and cube roots</p><p>power , percentage and log functions</p><p>set values of pi and e</p><p>the app may need to run on loop itself unless it is turned off </p><p>it may also run on loop to input as many values as a function requires          </p>]]></description>
         <enclosure url="" />
         <pubDate>2024-02-16 12:24:16 UTC</pubDate>
         <guid>https://padlet.com/24100091_1/1fbfgdj97xagz7zr/wish/2885947035</guid>
      </item>
      <item>
         <title>Anusha Asif</title>
         <author></author>
         <link>https://padlet.com/24100091_1/1fbfgdj97xagz7zr/wish/2885949597</link>
         <description><![CDATA[<p>add, sub, multiply, divide, square root. Yes loops will be used in in this. Define the program, write a code add loops, and then check errors.</p><p><br/></p>]]></description>
         <enclosure url="" />
         <pubDate>2024-02-16 12:28:02 UTC</pubDate>
         <guid>https://padlet.com/24100091_1/1fbfgdj97xagz7zr/wish/2885949597</guid>
      </item>
      <item>
         <title>Manaal Ahmad</title>
         <author></author>
         <link>https://padlet.com/24100091_1/1fbfgdj97xagz7zr/wish/2885951587</link>
         <description><![CDATA[<ol><li><p>Functions: </p></li></ol><p>Addition, subtraction, Multiplication, Division, Trigonometric functions e.t.c</p><p><br/></p><ol start="2"><li><p>loops are used to perform continuous functions and so that the user can input multiple functions. If the user puts an invalid value, then a loop can be used to make the user keep inputting values until they get a valid response.</p></li><li><p>first define the functions. user would input the information and then the specific functions required would be called and it would be run so that the output is displayed.</p></li></ol>]]></description>
         <enclosure url="" />
         <pubDate>2024-02-16 12:30:24 UTC</pubDate>
         <guid>https://padlet.com/24100091_1/1fbfgdj97xagz7zr/wish/2885951587</guid>
      </item>
      <item>
         <title>Aleesha shehzad </title>
         <author></author>
         <link>https://padlet.com/24100091_1/1fbfgdj97xagz7zr/wish/2885952846</link>
         <description><![CDATA[<p>functions : </p><p><br/></p><ul><li><p>addition </p></li><li><p>Subtraction </p></li><li><p>Multiplication </p></li><li><p>Division </p></li><li><p>Cos , sin , tab </p></li></ul><p><br/></p><p>A while loop will be required for complex functions but basic functions can be done without the whole loop </p><p><br/></p><p>Menu of operations to choose from </p><p>Defining the functions </p><p>Defining basic calculator logic </p><p><br/></p><p><br/></p><p><br/></p><p><br/></p><p><br/></p><p><br/></p>]]></description>
         <enclosure url="" />
         <pubDate>2024-02-16 12:32:18 UTC</pubDate>
         <guid>https://padlet.com/24100091_1/1fbfgdj97xagz7zr/wish/2885952846</guid>
      </item>
      <item>
         <title>Aimen Nadeem Completed </title>
         <author></author>
         <link>https://padlet.com/24100091_1/1fbfgdj97xagz7zr/wish/2886009810</link>
         <description><![CDATA[<p># let's start all the functions we will need</p><p>def add (x,y):</p><p>  return x+y </p><p>def subtract (x,y):</p><p>  return x-y</p><p>def mul (x,y):</p><p>  return x*y</p><p>def div (x,y):</p><p>  return x/y</p><p># let's start writing our main function where we will make our calculator app</p><p>def main():</p><p>  running = True </p><p>  </p><p>  while running == True:</p><p>    num1= int(input("Enter a number:"))</p><p>    num2= int(input("Entera number:"))</p><p>    op= input("Enter operation (*, +, /, -)):")</p><p>    if op =="+":</p><p>      ans=add(num1, num2)</p><p>      print ("Answer:", ans)</p><p>    elif op =="-":</p><p>      ans= subtract(num1, num2)</p><p>      print ("Answer:", ans)</p><p>    elif op =="*":</p><p>      ans= mul(num1, num2)</p><p>      print ("Answer:", ans)</p><p>    else:</p><p>      if num2 == 0:</p><p>        print ("Error: cannot divide by zero") </p><p>      else:</p><p>        ans= div(num1, num2)</p><p>        print ("Answer:", ans)</p><p>    will_continue = input ("Type yes to continue or no to exit:")</p><p>    if will_continue == "no":</p><p>      running = False </p>]]></description>
         <enclosure url="" />
         <pubDate>2024-02-16 13:40:24 UTC</pubDate>
         <guid>https://padlet.com/24100091_1/1fbfgdj97xagz7zr/wish/2886009810</guid>
      </item>
      <item>
         <title>Aima </title>
         <author></author>
         <link>https://padlet.com/24100091_1/1fbfgdj97xagz7zr/wish/2886010888</link>
         <description><![CDATA[<p>def main():</p><p>  running = True</p><p>  while running: </p><p>   num1 = int(input("Enter a number: "))</p><p>   num2 = int(input("Enter a number: "))</p><p>   op = input("Enter an operation(+ - * /): ")</p><p>   if op == "+": </p><p>     print("Answer: " , num1 + num2)</p><p>   elif op == "-":</p><p>     print("Answer: " , num1 - num2)</p><p>   elif op == "*":</p><p>     print("Answer: " , num1 * num2)</p><p>   elif op == "/":</p><p>     if num2 != 0:</p><p>       print("Answer: " , num1 / num2)</p><p>     else:</p><p>       print("Cannot divide by zero")</p><p>   else:</p><p>     print("please choose from these operations + - * /")</p><p>will_run = input("Type yes to continue , Type no to stop: ")</p><p>if will_run == "no":</p><p>  running =False  </p><p>  </p><p>if <strong>name</strong> == "__main__":</p><p>  main()</p>]]></description>
         <enclosure url="" />
         <pubDate>2024-02-16 13:41:37 UTC</pubDate>
         <guid>https://padlet.com/24100091_1/1fbfgdj97xagz7zr/wish/2886010888</guid>
      </item>
      <item>
         <title>Alveena Andrabi </title>
         <author></author>
         <link>https://padlet.com/24100091_1/1fbfgdj97xagz7zr/wish/2886015676</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/2334781005/087d1edb32d7ab8e7da4177d75b1a0a0/image.png" />
         <pubDate>2024-02-16 13:46:26 UTC</pubDate>
         <guid>https://padlet.com/24100091_1/1fbfgdj97xagz7zr/wish/2886015676</guid>
      </item>
      <item>
         <title>Emaan Arif</title>
         <author></author>
         <link>https://padlet.com/24100091_1/1fbfgdj97xagz7zr/wish/2886015688</link>
         <description><![CDATA[<p>def add(a, b):       </p><p>    return a + b</p><p>def sub(a, b):        </p><p>  return a - b</p><p>def mul(a, b):      </p><p>  return a * b</p><p>def div(a, b):          </p><p>  return a / b</p><p>def main():</p><p>  running=True </p><p>  </p><p>  while running: </p><p>    num1 = int(input("Enter number 1: "))</p><p>    num2 = int(input("Enter number 2: "))</p><p>    op = input("Enter operation (+ - * /): " )</p><p>  </p><p>    if op == "+": </p><p>      ans = add(num1, num2)</p><p>      print("Answer: ", ans)</p><p>    elif op == "-":</p><p>      ans = sub(num1, num2)</p><p>      print("Answer: ", ans)</p><p>    elif op == "*":</p><p>      ans = mul(num1, num2)</p><p>      print("Answer: ", ans)</p><p>    elif op == "/":</p><p>      </p><p>      ans = div(num1, num2)</p><p>      print("Answer: ", ans)</p><p>    else:</p><p>      print("Please pick one from")</p><p>while_continue = input("Type yes to continue or no to exit")</p><p>if while_continue == "no":</p><p>  running = False</p><p>if <strong>name</strong> == "__main__":</p><p>  main()</p><p><br/></p>]]></description>
         <enclosure url="" />
         <pubDate>2024-02-16 13:46:26 UTC</pubDate>
         <guid>https://padlet.com/24100091_1/1fbfgdj97xagz7zr/wish/2886015688</guid>
      </item>
      <item>
         <title>Shaiza Khan</title>
         <author></author>
         <link>https://padlet.com/24100091_1/1fbfgdj97xagz7zr/wish/2886016571</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/667521366/d5182454e4310ab6a96c3e8c512d9849/vghb.JPG" />
         <pubDate>2024-02-16 13:47:14 UTC</pubDate>
         <guid>https://padlet.com/24100091_1/1fbfgdj97xagz7zr/wish/2886016571</guid>
      </item>
      <item>
         <title>Minahil Nadeem</title>
         <author></author>
         <link>https://padlet.com/24100091_1/1fbfgdj97xagz7zr/wish/2886016997</link>
         <description><![CDATA[<pre><code class="language-notebook-python">def add(x,y):
  return x + y
def sub(x,y):
  return x-y
def mul(x,y):
  return x*y
def div(x,y):
  return x/y
#our main function
def main():
  running = True

  while running:
    num1=int(input("Enter number 1: "))
    num2=int(input("Enter number 2: "))

    op=input("Enter operation (+ - * /): ")

    if op=="+":
      ans=add(num1,num2)
      print("Answer: ",ans)
    elif op=="-":
      ans=sub(num1,num2)
      print("Answer: ",ans)
    elif op=="*":
      ans=mul(num1,num2)
      print("Answer: ",ans)
    elif op=="/":
      if num2 !=0:
        ans=div(num1,num2)
        print("Answer: ",ans)
      else :
        print("Cannot divide by zero")
    else:
     will_continue = input("Type 'yes' to continue and 'no' to exit: ")
     if will_continue =='no':
      running = False





main()</code></pre>]]></description>
         <enclosure url="" />
         <pubDate>2024-02-16 13:47:34 UTC</pubDate>
         <guid>https://padlet.com/24100091_1/1fbfgdj97xagz7zr/wish/2886016997</guid>
      </item>
      <item>
         <title>Shaiza Khan</title>
         <author></author>
         <link>https://padlet.com/24100091_1/1fbfgdj97xagz7zr/wish/2886017229</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/667521366/0fa0ba155b30347098ca7b5fe769a6fa/gbsahj.JPG" />
         <pubDate>2024-02-16 13:47:49 UTC</pubDate>
         <guid>https://padlet.com/24100091_1/1fbfgdj97xagz7zr/wish/2886017229</guid>
      </item>
      <item>
         <title>Khaula</title>
         <author></author>
         <link>https://padlet.com/24100091_1/1fbfgdj97xagz7zr/wish/2886023367</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/2334781050/53a1ad292d37a9adff9ebb323bfb0bcf/image_2024_02_16_185328977.png" />
         <pubDate>2024-02-16 13:53:37 UTC</pubDate>
         <guid>https://padlet.com/24100091_1/1fbfgdj97xagz7zr/wish/2886023367</guid>
      </item>
      <item>
         <title>khadeeja imran</title>
         <author></author>
         <link>https://padlet.com/24100091_1/1fbfgdj97xagz7zr/wish/2886028474</link>
         <description><![CDATA[<p>def add(a, b):</p><p>  return a+b</p><p>def subtract(a, b):</p><p>  return a-b</p><p>def multiply(a, b):</p><p>  return a*b</p><p>def divide(a, b):</p><p>  return a/b</p><p>def main():</p><p> running= True</p><p>   while True:</p><p>     a=int(input("enter number 1: "))</p><p>     b=int(input("enter number 2: "))</p><p>     op=input("please enter the operation you would like to perform, +, -, *, /: ")</p><p>     if op=="+":</p><p>       ans=add(a,b)</p><p>       print("the answer is = ", ans)</p><p>     elif op=="-":</p><p>       ans=subtract(a,b)</p><p>       print("the answer is = ", ans)</p><p>     elif op=="*":</p><p>       ans=multiply(a,b)</p><p>       print("the answer is = ", ans)</p><p>     elif op=="/" and b==0:</p><p>      print("Zero error: Cannot divide by zero")</p><p>     elif op=="/":</p><p>       if b==0:</p><p>         print("zero error: cannot divide by zero")</p><p>       else:</p><p>        ans=divide(a,b)</p><p>        print("the answer is = ", ans)</p><p>     else:</p><p>       print("invalid operator, pick +, -, * or /")</p><p>       </p><p>     cont=input("do you want to continue? y/n: ")</p><p>     if cont=='n':</p><p>        running=False</p><p>main()</p>]]></description>
         <enclosure url="" />
         <pubDate>2024-02-16 13:58:28 UTC</pubDate>
         <guid>https://padlet.com/24100091_1/1fbfgdj97xagz7zr/wish/2886028474</guid>
      </item>
      <item>
         <title>hajra nauman</title>
         <author></author>
         <link>https://padlet.com/24100091_1/1fbfgdj97xagz7zr/wish/2886056859</link>
         <description><![CDATA[<p>def add(x, y):</p><p>  return x + y</p><p>def subtract(x, y):</p><p>  return x - y</p><p>def multiply(x, y):</p><p>  return x * y</p><p>def divide(x, y):</p><p>  return x / y</p><p>cont="yes"</p><p>running=True</p><p>while running:</p><p>  try:</p><p>    num1 = int(input("Enter first number: "))</p><p>  except ValueError:</p><p>    print("Invalid input. Please enter a number.")</p><p>    continue</p><p>  try:</p><p>    num2 = int(input("Enter second number: "))</p><p>  except ValueError:</p><p>    print("Invalid input. Please enter a number.")</p><p>    continue</p><p>  op = input("Enter operator: +, -, / or *: ")</p><p>  if op == "+":</p><p>    ans = add(num1, num2)</p><p>  elif op == "-":</p><p>    ans = subtract(num1, num2)</p><p>  elif op == "*":</p><p>    ans = multiply(num1, num2)</p><p>  elif op == "/":</p><p>    ans=divide(num1, num2)</p><p>    if num2 == 0:</p><p>      print("Zero division error")</p><p>    ans = divide(num1, num2)</p><p>  else:</p><p>    print("Invalid operator")</p><p>  print("Answer:", ans)</p><p>  cont = input("Do you want to continue? (yes or no)")</p><p>  if cont == "no":</p><p>    running = False</p>]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/2334791901/03c889aef3e1d10d9acccb654a80c2ff/Screenshot_2024_02_16_192125.png" />
         <pubDate>2024-02-16 14:22:59 UTC</pubDate>
         <guid>https://padlet.com/24100091_1/1fbfgdj97xagz7zr/wish/2886056859</guid>
      </item>
   </channel>
</rss>
