Willkommen auf meinem Apache-Webserver!

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

Wissensportal

PHP

<?php
$tiere_a = ["Wal", "Gans", "Affe", "Nashorn", "Zebra", "Esel"];
$tiere_b = ["Katze", "Nilpferd", "Hund", "Huhn", "Pferd"];

$tiere_a = array_merge($tiere_a, $tiere_b);

print_r($tiere_a);
?>

Python

tiere_a = ["Wal", "Gans", "Affe", "Nashorn", "Zebra", "Esel"]
           #0      #1     #2       #3         #4      #5

tiere_b = ["Katze", "Nilpferd", "Hund", "Huhn", "Pferd"]

for tier in tiere_b:
    tiere_a.append(tier)
    
print(tiere_a)