chridd » Programming » Weird indents
A program to show the various alternative indentation styles from a tweet by @ctrlshifti and its replies.
def findNumber(arr, k): for i in range(0, len(arr)): if (arr[i] == k and k != 0): return "YES" return "NO" arr = [1,2,3,4,5] k = 5 print(findNumber(arr, k))
Indentation: Drop caps (only one so far)
From a tweet by me, inspired by a tweet by @brx0
Comments