Skip to content

Instantly share code, notes, and snippets.

@iizukak
Created October 9, 2011 15:38
Show Gist options
  • Save iizukak/1273809 to your computer and use it in GitHub Desktop.
Save iizukak/1273809 to your computer and use it in GitHub Desktop.
Codeforces Beta Round #89 (Div. 2), problem: (A) String Task, 118A, Python
string = raw_input().lower()
notvowl = ".".join([c for c in string if not c in "aiueoy"])
print "." + notvowl
@Blurdroid
Copy link

why you put [] in the second step

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment