# Use list and methods

names = [] # create empty list
diffrentNames = ['Kate', 'Damian']

names.append('John')
names.append(diffrentNames)
names.append('Stanley')


print(names)

print('Użycie metody names.pop()')
last = names.pop()

print(names)

print('Ostatnia wartość tablicy, to: ' + last)





print('==============.extend()===============')
names.extend(['David', 'Gabrysia'])

print(names)
de6537bf9ea575f60536d80597696c2eeda1bbe3
<mask token>

<mask token>
names.append('John')
names.append(diffrentNames)
names.append('Stanley')
print(names)
print('Użycie metody names.pop()')
<mask token>
print(names)
print('Ostatnia wartość tablicy, to: ' + last)
print('==============.extend()===============')
names.extend(['David', 'Gabrysia'])
print(names)

names = []
diffrentNames = ['Kate', 'Damian']
names.append('John')
names.append(diffrentNames)
names.append('Stanley')
print(names)
print('Użycie metody names.pop()')
last = names.pop()
print(names)
print('Ostatnia wartość tablicy, to: ' + last)
print('==============.extend()===============')
names.extend(['David', 'Gabrysia'])
print(names)

# Use list and methods

names = [] # create empty list
diffrentNames = ['Kate', 'Damian']

names.append('John')
names.append(diffrentNames)
names.append('Stanley')


print(names)

print('Użycie metody names.pop()')
last = names.pop()

print(names)

print('Ostatnia wartość tablicy, to: ' + last)





print('==============.extend()===============')
names.extend(['David', 'Gabrysia'])

print(names)