Printing with String Literals
来源:互联网 发布:民治单片机培训 编辑:程序博客网 时间:2024/05/17 02:47
You can think of the interpreter as a little program that ferries information between your Python code and the computer when you click "Run." The actual window to which the interpreter spits out the output of your code is the console. (If you're familiar with JavaScript, then you know thatconsole.log
logs the result of evaluating your code to the console; print
is Python's version of console.log
.)
If you haven't studied JavaScript, never fear! All you need to know is that print
printsthe result of the interpreter's evaluation of your code to the console for you to see.
Let's start with something simple. Tryprint
ing "Monty Python"
to the console. The syntax looks like this:
print "Your string goes here"
Don't forget the quotes ('
or "
)!
- Printing with String Literals
- String Literals
- 9.4.4.5 String literals
- Printing with Style
- Printing with Documents and Views
- PRINTING IN LINUX WITH CUPS
- Literals
- C++ Gotchas 条款64:抛出String Literals
- C++ Gotchas 条款64:抛出String Literals
- C++ Gotchas 条款64:抛出String Literals
- C++ Gotchas 条款64:抛出String Literals
- C++ Gotchas 条款64:抛出String Literals
- C++ Gotchas 条款64:抛出String Literals
- C++ Gotchas 条款64:抛出String Literals
- C++11中的raw string literals
- Java记录 -28- String Literals字面值
- Printing ALV along with Page numbers
- CPrintDlg to appear with Landscape printing orientation
- SAP和Java系统的Webservice实例
- 弱校ACM奋斗史
- Hive 随谈(一)– Hive 入门
- 学习内容
- Myeclipse不能和tomcat同步的问题解决
- Printing with String Literals
- java 内存
- fxo和fxs(o口和s口)
- Hive 随谈(二)– Hive 结构
- 发布iOS应用程序
- java jxl 的打印设置
- Hive 随谈(三)– Hive 和数据库的异同
- VLFeat开源库下载链接
- Hive 随谈(四)– Hive QL