Willkommen auf meinem Apache-Webserver!

Dieser Server verwendet MariaDB 10.11.8-MariaDB-0ubuntu0.24.04.1

Wissensportal

PHP

<?php

$personen = [
    [
        "Name" => "Klara",
        "Alter" => 32,
        "Geschlecht" => "Weiblich"
    ],
    [
        "Name" => "Peter",
        "Alter" => 25,
        "Geschlecht" => "Männlich"
    ],
    [
        "Name" => "Hans-Franz",
        "Alter" => 86,
        "Geschlecht" => "Männlich"
    ]
];

$personen[0]["Alter"] = "100000";
$personen[1]["Name"] = "Lorem Ipsum dolor sit amet";

foreach ($personen as $person) {
    echo "Name: " . $person["Name"] . "\n";
    echo "Alter: " . $person["Alter"] . "\n";
    echo "Geschlecht: " . $person["Geschlecht"] . "\n";
}

?>

Python

personen = [
    {
    "Name": "Klara",
    "Alter": 32,
    "Geschlecht": "Weiblich"
    },

    {
    "Name": "Peter",
    "Alter": 25,
    "Geschlecht": "Männlich"
    },
    
    {
    "Name": "Hans-Franz",
    "Alter": 86,
    "Geschlecht": "Männlich"
    }
]


personen[0]["Alter"] = "100000"
personen[1]["Name"] = "Lorem Ipsum dolor sit amet"

for person in personen:
    print(person)