<?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:lu12: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-07T15:11:30+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://wiki.bzz.ch/modul/archiv/m319python/learningunits/lu12/loesungen/auto?rev=1711631267&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.bzz.ch/modul/archiv/m319python/learningunits/lu12/loesungen/hofladen?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/lu12/loesungen/auto?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>LU12.L01 - Auto</title>
        <link>https://wiki.bzz.ch/modul/archiv/m319python/learningunits/lu12/loesungen/auto?rev=1711631267&amp;do=diff</link>
        <description>LU12.L01 - Auto

main.py


from car import Car


def main():
    car_list = []
    while True:
        brand = input(&#039;Marke &gt; &#039;)
        if brand != &#039;&#039;:
            car = Car()
            car_list.append(car)
            car.brand = brand
            model = input(&#039;Modell &gt; &#039;)
            car.model = model
            construction = input(&#039;Baujahr &gt; &#039;)
            car.construction = construction
        else:
            break

    for car in car_list:
        print(car.construction)
        pr…</description>
    </item>
    <item rdf:about="https://wiki.bzz.ch/modul/archiv/m319python/learningunits/lu12/loesungen/hofladen?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>LU12.L02 - Hofladen</title>
        <link>https://wiki.bzz.ch/modul/archiv/m319python/learningunits/lu12/loesungen/hofladen?rev=1711631267&amp;do=diff</link>
        <description>LU12.L02 - Hofladen

Funktionen


def input_int(prompt):
    &quot;&quot;&quot;
    reads an integer input from the user
    :param text: the prompt to be shown
    :return: the integer number
    &quot;&quot;&quot;
    pass
    
def input_float(prompt):
    &quot;&quot;&quot;
    reads a decimal number input from the user
    :param text: the prompt to be shown
    :return: the decimal number
    &quot;&quot;&quot;
    pass
    
def find_article(list, name):
    &quot;&quot;&quot;
    finds an article in the article list
    :param list: the article list
    :param na…</description>
    </item>
</rdf:RDF>
