take mac

Run Settings
LanguagePython
Language Version
Run Command
# Input data as a multiline string input_data = """ """ # Split the input data into lines lines = input_data.strip().split('\n') # Extract MAC addresses from each line mac_addresses = [line.split('|')[0] for line in lines] # Print the extracted MAC addresses for mac in mac_addresses: print(mac)
Editor Settings
Theme
Key bindings
Full width
Lines