vim hello.py
#!/usr/local/bin/python3.4 str=input('pls intput same message:'); print('you had enterd the string:'+str);
运行:
vim hello.py
#!/usr/local/bin/python3.4 x='love hope'; print(x[3:7]); print('hello,'+x*2+'-end.');
运行:
完。
vim hello.py
#!/usr/local/bin/python3.4 str=input('pls intput same message:'); print('you had enterd the string:'+str);
运行:
vim hello.py
#!/usr/local/bin/python3.4 x='love hope'; print(x[3:7]); print('hello,'+x*2+'-end.');
运行:
完。
转载于:https://www.cnblogs.com/liyou-blog/p/4497261.html