Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python bug

#this is a small bug for beginners
first = [1, 2, 3, 4, 5]

print(first)
second = first
print(second)
second.append(6)
print(second)
print(first)

if first == second :
    print("bug! you will get hacked!")
 
PREVIOUS NEXT
Tagged: #python #bug
ADD COMMENT
Topic
Name
1+1 =