Facebook
From Corrupt Coyote, 8 Years ago, written in Python.
Embed
Download Paste or View Raw
Hits: 357
  1. def elem(a, x):
  2.         found = false
  3.         for i in a:
  4.         if(i == x)
  5.                 found = true
  6.             break
  7.     if(found):
  8.         print "tak"
  9.     else
  10.         print "nie"
  11.