This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import re | |
with open('input.txt', 'r') as f: | |
lines = f.readlines() | |
def get_symbols(lines): | |
symbols = [] | |
all_lines = " ".join(line.strip() for line in lines) | |
for c in all_lines: | |
if (c not in symbols) and (not c.isdigit()): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*- | |
* #%L | |
* Search framework for SciJava applications. | |
* %% | |
* Copyright (C) 2017 SciJava developers. | |
* %% | |
* Redistribution and use in source and binary forms, with or without | |
* modification, are permitted provided that the following conditions are met: | |
* | |
* 1. Redistributions of source code must retain the above copyright notice, |