patterns

Primary tabs

python - learning or why this might lead to important unlearing

patternmatching

The code sample below does not display well, yet as the tabs before the print statements are not expanded to spaces - yet.

if "abcdefgh23;ijklmn" ^ AnyOfP (string.letters) [4]:
print ("found four letters")
else:
print ("didn't find four letters")

Subscribe to RSS - patterns