s = "ACA121" print(s[0:3])
Standard input is empty
ACA
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!