贯穿整个系列,一直用print语句写入(输出)数据,它默认把表达式作为string写到屏幕上(或控制台窗口上)。
Throughout this series, you've written (output) data using the print statement, which by default writes the expression as a string to the screen (or console window).
abc里有一个print语句,可以让你在屏幕上输出,还有一个input语句,让你可以从键盘上读入,但是ABC却没有办法可以把IO重定向到文件,或者从文件重定向到IO。
There was a print statement that wrote to the screen, and an input statement that read from a keyboard, but there was no way to redirect IO to or from a file.
abc里有一个print语句,可以让你在屏幕上输出,还有一个input语句,让你可以从键盘上读入,但是ABC却没有办法可以把IO重定向到文件,或者从文件重定向到IO。
There was a print statement that wrote to the screen, and an input statement that read from a keyboard, but there was no way to redirect IO to or from a file.
应用推荐