Zum Hauptinhalt springen
Echtzeit-Radar & Feeds
Alle RSS Feeds ➔
👥 Community & Social
Windows Tipps & SecurityGrafikkarte vor Überhitzung schützen: So geht’s(25.09.2026 um 08:00 Uhr)
••••••••••
Windows Tipps & SecurityGrafikkarte vor Überhitzung schützen: So geht’s(25.09.2026 um 08:00 Uhr)
••••••••••
Intelligence View
⚡ tsecurity.de Intelligence

Task 3 – The Delivery MAN – Python List

1.Create a list of five delivery items and print the third item in the list. eg: [“Notebook”, “Pencil”, “Eraser”, “Ruler”, “Marker”] CODE: items = ["Notebook", "Pencil", "Eraser", "Ruler", "Marker"] print(ite…

0
↗ Quelle (dev.to)
Reagiere als Erste:r — dein Feedback zählt!

1.Create a list of five delivery items and print the third item in the list. eg: [“Notebook”, “Pencil”, “Eraser”, “Ruler”, “Marker”]



CODE:



items = ["Notebook", "Pencil", "Eraser", "Ruler", "Marker"]

print(items[2])



OUTPUT:



Eraser



EXPLANATION:




  • List indexing starts from 0


  • Third item → index 2




2.A new delivery item “Glue Stick” needs to be added to the list. Add it to the end of the list and print the updated list.



CODE:



items = ["Notebook", "Pencil", "Eraser", "Ruler", "Marker"]

items.append("Glue Stick")

print(items)



OUTPUT:



['Notebook', 'Pencil', 'Eraser', 'Ruler', 'Marker', 'Glue Stick']



EXPLANATION:




  • append() adds item to the end



3.Insert “Highlighter” between the second and third items and print the updated list.



CODE:





items = ["Notebook", "Pencil", "Eraser", "Ruler", "Marker", 'Glue Stick']

items.insert(2, "Highlighter")

print(items)



OUTPUT:



['Notebook', 'Pencil', 'Highlighter', 'Eraser', 'Ruler', 'Marker', 'Glue Stick']



EXPLANATION:




  • insert(index, value) adds at specific position



4.One delivery was canceled. Remove “Ruler” from the list and print the updated list.



CODE:



items=['Notebook', 'Pencil', 'Highlighter', 'Eraser', 'Ruler', 'Marker', 'Glue Stick']

items.remove("Ruler")

print(items)



OUTPUT:



['Notebook', 'Pencil', 'Highlighter', 'Eraser', 'Marker', 'Glue Stick']



EXPLANATION:




  • remove() deletes specific value



5.The delivery man needs to deliver only the first three items. Print a sublist containing only these items.



CODE:



items=['Notebook', 'Pencil', 'Highlighter', 'Eraser', 'Marker', 'Glue Stick']

print(items[:3])



OUTPUT:



['Notebook', 'Pencil', 'Highlighter']



EXPLANATION:




  • Slicing [:3] gets first 3 items



6.The delivery man has finished his deliveries. Convert all item names to uppercase using a list comprehension and print the new list.



CODE:



items=['Notebook', 'Pencil', 'Highlighter', 'Eraser', 'Marker', 'Glue Stick']

upper_items = [item.upper() for item in items]

print(upper_items)



OUTPUT:



['NOTEBOOK', 'PENCIL', 'HIGHLIGHTER', 'ERASER', 'MARKER', 'GLUE STICK']



EXPLANATION:




  • List comprehension transforms each item



7.Check if “Marker” is still in the list and print a message indicating whether it is found.



CODE:



items=['Notebook', 'Pencil', 'Highlighter', 'Eraser', 'Marker', 'Glue Stick']

if "Marker" in items:

print("Marker found")

else:

print("Marker not found")



OUTPUT:



Marker found



EXPLANATION:




  • in checks existence



8.Print the number of delivery items in the list.



CODE:



items=['Notebook', 'Pencil', 'Highlighter', 'Eraser', 'Marker', 'Glue Stick']

print(len(items))



OUTPUT:



6



EXPLANATION:




  • len() returns number of elements



9.Sort the list of items in alphabetical order and print the sorted list.



CODE:



items=['Notebook', 'Pencil', 'Highlighter', 'Eraser', 'Marker', 'Glue Stick']

items.sort()

print(items)



OUTPUT:



['Eraser', 'Glue Stick', 'Highlighter', 'Marker', 'Notebook', 'Pencil']



EXPLANATION:




  • sort() arranges alphabetically



10.The delivery man decides to reverse the order of his deliveries. Reverse the list and print it.



CODE:



items=['Eraser', 'Glue Stick', 'Highlighter', 'Marker', 'Notebook', 'Pencil']

items.reverse()

print(items)



OUTPUT:



['Pencil', 'Notebook', 'Marker', 'Highlighter', 'Glue Stick', 'Eraser']



EXPLANATION:




  • reverse() reverses order



11.Create a list where each item is a list containing a delivery item and its delivery time. Print the first item and its time.



CODE:



delivery = [["Notebook", "10AM"], ["Pencil", "11AM"]]

print(delivery[0])



OUTPUT:



['Notebook', '10AM']



EXPLANATION:




  • Nested list stores multiple values



12.Count how many times “Ruler” appears in the list and print the count.



CODE:



items=['Pencil', 'Notebook', 'Marker', 'Highlighter', 'Glue Stick', 'Eraser']

print(items.count("Ruler"))



OUTPUT:



0



EXPLANATION:




  • count() returns occurrences



13.Find the index of “Pencil” in the list and print it.



CODE:



items=['Pencil', 'Notebook', 'Marker', 'Highlighter', 'Glue Stick', 'Eraser']

print(items.index("Pencil"))



OUTPUT:



0



EXPLANATION:




  • index() finds position



14.Extend the list items with another list of new delivery items and print the updated list.



CODE:



items=['Pencil', 'Notebook', 'Marker', 'Highlighter', 'Glue Stick', 'Eraser']

items.extend(["Pen", "Sharpener"])

print(items)



OUTPUT:



['Pencil', 'Notebook', 'Marker', 'Highlighter', 'Glue Stick', 'Eraser', 'Pen', 'Sharpener']



EXPLANATION:




  • extend() adds multiple items



15.Clear the list of all delivery items and print the list.



CODE:



items=['Pencil', 'Notebook', 'Marker', 'Highlighter', 'Glue Stick', 'Eraser']

items.clear()

print(items)



OUTPUT:



[]



EXPLANATION:




  • clear() removes all items



16.Create a list with the item “Notebook” repeated three times and print the list.



CODE:



items = ["Notebook"] * 3

print(items)



OUTPUT:



['Notebook', 'Notebook', 'Notebook']



EXPLANATION:




  • * repeats list



17.Using a nested list comprehension, create a list of lists where each sublist contains an item and its length, then print the new list.



CODE:



items = ["Notebook", "Pencil"]

result = [[item, len(item)] for item in items]

print(result)



OUTPUT:



[['Notebook', 8], ['Pencil', 6]]



EXPLANATION:




  • Creates sublists with item + length



18.Filter the list to include only items that contain the letter “e” and print the filtered list.



CODE:



filtered = [item for item in items if "e" in item]

print(filtered)



OUTPUT:



['Notebook', 'Pencil']



EXPLANATION:




  • Filters based on condition



19.Remove duplicate items from the list and print the list of unique items.



CODE:



items = ["Notebook", "Pencil", "Notebook"]

unique = list(set(items))

print(unique)



OUTPUT:



['Notebook', 'Pencil']



EXPLANATION:




  • set() removes duplicates

1. Sofort-Triage & Abwehrmaßnahmen

SOC Incident Playbook: Vulnerability Remediation & Verification
Syntax validiert (0 Fehler)
title: Detect Exploitation - Task 3 – The Delivery MAN – Python List
id: 0b812045-37fb-422a-8592-8107eecf4fca
status: experimental
description: Automatisch generierte SIEM-Erkennungsregel basierend auf CTI Intelligence
references:
  - https://tsecurity.de/
author: iShareStuff CTI Automated Detection Engine
date: 2026-09-27
logsource:
  category: network_connection
  product: any
detection:
  selection:
      CommandLine|contains:
        - 'exploit'
  condition: selection
falsepositives:
  - Legitime administrative Zugriffe oder Penetrationstests
level: high
tags:
  - attack.initial_access
Syntax validiert (0 Fehler)
rule CTI_Threat_Indicator {
    meta:
        author = "iShareStuff CTI Automated Detection Engine"
        date = "2026-09-27"
        description = "YARA Signature for "
    strings:
        $str = "Task 3 – The Delivery MAN – Py" ascii wide
    condition:
        any of them
}
Syntax validiert (0 Fehler)
index=security sourcetype IN ("cisco:asa", "pan:traffic", "zeek_conn", "suricata", "WinEventLog:Security")
("Task 3  The Delivery MAN  Python List")
| stats count earliest(_time) as first_seen latest(_time) as last_seen by src_ip, dest_ip, dest_host, signature
| eval first_seen=strftime(first_seen, "%Y-%m-%d %H:%M:%S"), last_seen=strftime(last_seen, "%Y-%m-%d %H:%M:%S")
| sort - count
Syntax validiert (0 Fehler)
message: "*Task 3  The Delivery MAN  Python List*"
Syntax validiert (0 Fehler)
CommonSecurityLog
| where Message has "Task 3  The Delivery MAN  Python List"
| summarize EventCount = count(), FirstSeen = min(TimeGenerated), LastSeen = max(TimeGenerated) by SourceIP, DestinationIP, DestinationPort, Activity
| extend DetectionRule = "iShareStuff-CTI-Compiled"
| sort by EventCount desc

2. Cyber Threat Intelligence & Forensik

🎯
MITRE ATT&CK Matrix Navigator 14 Taktiken
Reconnaissance
-
Resource Development
-
Initial Access
Execution
Persistence
-
Privilege Escalation
Defense Evasion
Credential Access
-
Discovery
-
Lateral Movement
-
Collection
-
Command and Control
Exfiltration
-
Impact
tsecurity.de Cognitive Threat RAG
Fokus-Vektor:

Analyse für identifizierte Bedrohung auf Basis von Live-CTI (ENISA EUVD): CVSS 0.0 · EPSS 0.0% · CISA KEV: nein. Handlungsableitung aus den verlinkten Hersteller-Quellen.

🛡️ Angriffsfläche & Exposure

Netzwerk/Remote-Zugriff ohne Vorauthentifizierung möglich.

⚡ Empfohlene Sofortmaßnahmen
  • 1. Perimeter-Inspektion: Relevante Portfreigaben und exponierte Endpunkte unverzüglich scannen.
  • 2. Patch-Applikation: Hersteller-Hotfix einspielen oder betroffene Daemons in isolierte DMZ-Segmente überführen.
  • 3. Telemetrie & EDR-Alerts: Prozessaufrufe und Child-Processes auf anomale Shell-Spawns überwachen.
Ähnliche Beiträge
🔍 Verwandte News

Auch interessante Nachrichten Task 3 – The Delivery MAN – Python List

Thematisch verwandte Begriffe: Task, Delivery, Python, List · 6 Treffer

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

💬 Kommentare werden geladen…
Zum Aktualisieren ziehen
ZERO-DAY CVE-2026-100739 | A vulnerability was detected in mathurvishal CloudClassroom-PHP-Project…
Advisory →
tsecurity.de Icon
Offline-Lesen, Eilmeldungen & 0ms Ladezeit

Installiere tsecurity.de direkt auf deinen Home-Bildschirm für das ultimative Vollbild-Magazinerlebnis ohne Browser-Leisten.

Nächster Beitrag