vim hello.py
#!/usr/local/bin/python3.4 str=input('pls intput same message:'); print('you had enterd the string:'+str);
运行:
#!/usr/local/bin/python3.4 x='love hope'; print(x[3:7]); print('hello,'+x*2+'-end.');
完。