You are viewing a single comment's thread. Return to all comments →
import re import sys src = ''.join(sys.stdin.readlines()) if 'java' in src: print("Java") elif '#include' in src: print("C") else: print("Python")
I think this is hacking...
Seems like cookies are disabled on this browser, please enable them to open this website
Building a Smart IDE: Programming Language Detection
You are viewing a single comment's thread. Return to all comments →
I think this is hacking...