x = [1, 2, 3 * 4]
print(x)
x[0] = 4
print(x)
x[1] += -4
print(x)
x.append(5)
print(x)
f = x.append
f(4)
print(x)

x.extend([100, 200])
print(x)

x += [2, 1]
print(x)

print(x[1:])
print(x[:-1])
print(x[2:3])

x = [1, 2, 3 * 4]
print(x)
x[0] = 4
print(x)
x[1] += -4
print(x)
x.append(5)
print(x)
f = x.append
f(4)
print(x)

x.extend([100, 200])
print(x)

x += [2, 1]
print(x)

print(x[1:])
print(x[:-1])
print(x[2:3])

try:
    print(x[1.0])
except TypeError:
    print("TypeError")

Add test for implicit float to int conversion (not allowed!)
tests: Add test for implicit float to int conversion (not allowed!)

  x = [1, 2, 3 * 4]
  print(x)
  x[0] = 4
  print(x)
  x[1] += -4
  print(x)
  x.append(5)
  print(x)
  f = x.append
  f(4)
  print(x)
  
  x.extend([100, 200])
  print(x)
  
  x += [2, 1]
  print(x)
  
  print(x[1:])
  print(x[:-1])
  print(x[2:3])
  
+ try:
+     print(x[1.0])
+ except TypeError:
+     print("TypeError")
+ 
Add test for implicit float to int conversion (not allowed!)
## Code Before:
x = [1, 2, 3 * 4]
print(x)
x[0] = 4
print(x)
x[1] += -4
print(x)
x.append(5)
print(x)
f = x.append
f(4)
print(x)

x.extend([100, 200])
print(x)

x += [2, 1]
print(x)

print(x[1:])
print(x[:-1])
print(x[2:3])

## Instruction:
Add test for implicit float to int conversion (not allowed!)
## Code After:
x = [1, 2, 3 * 4]
print(x)
x[0] = 4
print(x)
x[1] += -4
print(x)
x.append(5)
print(x)
f = x.append
f(4)
print(x)

x.extend([100, 200])
print(x)

x += [2, 1]
print(x)

print(x[1:])
print(x[:-1])
print(x[2:3])

try:
    print(x[1.0])
except TypeError:
    print("TypeError")
