<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://wiki.bzz.ch/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="https://wiki.bzz.ch/feed.php">
        <title>BZZ - Modulwiki - modul:archiv:m319python:learningunits:lu02:loesungen</title>
        <description></description>
        <link>https://wiki.bzz.ch/</link>
        <image rdf:resource="https://wiki.bzz.ch/_media/wiki/logo.png" />
       <dc:date>2026-04-07T10:16:08+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://wiki.bzz.ch/modul/archiv/m319python/learningunits/lu02/loesungen/averageoftwo?rev=1711631267&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.bzz.ch/modul/archiv/m319python/learningunits/lu02/loesungen/differentinputs?rev=1711631267&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.bzz.ch/modul/archiv/m319python/learningunits/lu02/loesungen/multiplication?rev=1711631267&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.bzz.ch/modul/archiv/m319python/learningunits/lu02/loesungen/seconsinaday?rev=1711631267&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.bzz.ch/modul/archiv/m319python/learningunits/lu02/loesungen/simplecalculator?rev=1711631267&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.bzz.ch/modul/archiv/m319python/learningunits/lu02/loesungen/sumofthreenumbers?rev=1711631267&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.bzz.ch/modul/archiv/m319python/learningunits/lu02/loesungen/sumoftwonumbers?rev=1711631267&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.bzz.ch/modul/archiv/m319python/learningunits/lu02/loesungen/variousvariables?rev=1711631267&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://wiki.bzz.ch/_media/wiki/logo.png">
        <title>BZZ - Modulwiki</title>
        <link>https://wiki.bzz.ch/</link>
        <url>https://wiki.bzz.ch/_media/wiki/logo.png</url>
    </image>
    <item rdf:about="https://wiki.bzz.ch/modul/archiv/m319python/learningunits/lu02/loesungen/averageoftwo?rev=1711631267&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-03-28T13:07:47+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Lösung LU02.A07</title>
        <link>https://wiki.bzz.ch/modul/archiv/m319python/learningunits/lu02/loesungen/averageoftwo?rev=1711631267&amp;do=diff</link>
        <description>Lösung LU02.A07


def main():
    # write your code below this line
    first = int(input(&#039;Give the first number:\n&#039;))
    second = int(input(&#039;Give the second number:\n&#039;))
    #print(&#039;The average is &#039;+ str((first+second)/2))
    print(f&#039;The average is {(first+second)/2}&#039;) # using fstring

if __name__ == &#039;__main__&#039;:
    main()</description>
    </item>
    <item rdf:about="https://wiki.bzz.ch/modul/archiv/m319python/learningunits/lu02/loesungen/differentinputs?rev=1711631267&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-03-28T13:07:47+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Lösung LU02.A02</title>
        <link>https://wiki.bzz.ch/modul/archiv/m319python/learningunits/lu02/loesungen/differentinputs?rev=1711631267&amp;do=diff</link>
        <description>Lösung LU02.A02


def main():
    # write your code below this line
    inString = input(&#039;Give a string:\n&#039;)
    inInteger = int(input(&#039;Give an integer:\n&#039;))
    inFloat = float(input(&#039;Give a float:\n&#039;))
    print(&#039;You gave the string &#039; + inString)
    print(&#039;You gave the integer &#039; + str(inInteger))
    print(&#039;You gave the float &#039; + str(inFloat))

if __name__ == &#039;__main__&#039;:
    main()</description>
    </item>
    <item rdf:about="https://wiki.bzz.ch/modul/archiv/m319python/learningunits/lu02/loesungen/multiplication?rev=1711631267&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-03-28T13:07:47+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Lösung LU02.A06</title>
        <link>https://wiki.bzz.ch/modul/archiv/m319python/learningunits/lu02/loesungen/multiplication?rev=1711631267&amp;do=diff</link>
        <description>Lösung LU02.A06


def main():
    # write your code below this line
    first = int(input(&#039;Give the first number:\n&#039;))
    second = int(input(&#039;Give the second number:\n&#039;))
    #print(str(first) + &#039; * &#039; + str(second) +&#039; = &#039;+ str(first*second))
    print(f&#039;{first} * {second} = {first*second}&#039;) # using fstring

if __name__ == &#039;__main__&#039;:
    main()</description>
    </item>
    <item rdf:about="https://wiki.bzz.ch/modul/archiv/m319python/learningunits/lu02/loesungen/seconsinaday?rev=1711631267&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-03-28T13:07:47+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Lösung LU02.A03</title>
        <link>https://wiki.bzz.ch/modul/archiv/m319python/learningunits/lu02/loesungen/seconsinaday?rev=1711631267&amp;do=diff</link>
        <description>Lösung LU02.A03


def main():
    # write your code below this line
    number = int(input(&#039;How many days would you like to convert to seconds?\n&#039;))
    print(number*24*3600)

if __name__ == &#039;__main__&#039;:
    main()</description>
    </item>
    <item rdf:about="https://wiki.bzz.ch/modul/archiv/m319python/learningunits/lu02/loesungen/simplecalculator?rev=1711631267&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-03-28T13:07:47+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Lösung LU02.A08</title>
        <link>https://wiki.bzz.ch/modul/archiv/m319python/learningunits/lu02/loesungen/simplecalculator?rev=1711631267&amp;do=diff</link>
        <description>Lösung LU02.A08


def main():
    # write your code below this line
    first = int(input(&#039;Give the first number:\n&#039;))
    second = int(input(&#039;Give the second number:\n&#039;))
    print(f&#039;{first} + {second} = {first+second}&#039;) # using fstring
    print(f&#039;{first} - {second} = {first-second}&#039;) # using fstring
    print(f&#039;{first} * {second} = {first*second}&#039;) # using fstring
    print(f&#039;{first} / {second} = {first/second}&#039;) # using fstring


if __name__ == &#039;__main__&#039;:
    main()</description>
    </item>
    <item rdf:about="https://wiki.bzz.ch/modul/archiv/m319python/learningunits/lu02/loesungen/sumofthreenumbers?rev=1711631267&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-03-28T13:07:47+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Lösung LU02.A05</title>
        <link>https://wiki.bzz.ch/modul/archiv/m319python/learningunits/lu02/loesungen/sumofthreenumbers?rev=1711631267&amp;do=diff</link>
        <description>Lösung LU02.A05


def main():
    # write your code below this line
    first = int(input(&#039;Give the first number:\n&#039;))
    second = int(input(&#039;Give the second number:\n&#039;))
    third = int(input(&#039;Give the third number:\n&#039;))
    # print(&#039;The sum of the numbers is &#039; + str(first+second+third))
    print(f&#039;The sum of the numbers is {first+second+third}&#039;) # using fstring

if __name__ == &#039;__main__&#039;:
    main()</description>
    </item>
    <item rdf:about="https://wiki.bzz.ch/modul/archiv/m319python/learningunits/lu02/loesungen/sumoftwonumbers?rev=1711631267&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-03-28T13:07:47+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Lösung LU02.A04</title>
        <link>https://wiki.bzz.ch/modul/archiv/m319python/learningunits/lu02/loesungen/sumoftwonumbers?rev=1711631267&amp;do=diff</link>
        <description>Lösung LU02.A04


def main():
    # write your code below this line
    first = int(input(&#039;Give the first number:\n&#039;))
    second = int(input(&#039;Give the second number:\n&#039;))
    # print(&#039;The sum of the numbers is &#039; + str(first+second))
    print(f&#039;The sum of the numbers is {first+second}&#039;) # using fstring

if __name__ == &#039;__main__&#039;:
    main()</description>
    </item>
    <item rdf:about="https://wiki.bzz.ch/modul/archiv/m319python/learningunits/lu02/loesungen/variousvariables?rev=1711631267&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-03-28T13:07:47+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Lösung LU02.A01</title>
        <link>https://wiki.bzz.ch/modul/archiv/m319python/learningunits/lu02/loesungen/variousvariables?rev=1711631267&amp;do=diff</link>
        <description>Lösung LU02.A01


def main():
    #write your code below this line
    chicken_quantity = 9000
    bacon_quantity = 0.1
    print(&quot;Chicken:&quot;)
    print(chicken_quantity)
    print(&quot;Bacon (kg):&quot;)
    print(bacon_quantity)
    print(&quot;Tractor:&quot;)
    print(&quot;Zero&quot;)
    print()
    print(&quot;And finally, a summary:&quot;)
    print(chicken_quantity)
    print(bacon_quantity)
    print(&quot;Zero&quot;)
 
if __name__ == &#039;__main__&#039;:
    main()</description>
    </item>
</rdf:RDF>
