for x in [1, 2, 3]:
count(x)
for x in [1, 2, 3]:
count(x)
for x in [1, 2, 3]:
count(x)
def add_one(x):
return x + 1
for x in [1, 2, 3]:
count(x)
<div id="contents">
<p>Hello, World!Goodbye, cruel world!
</div>
for x in [1, 2, 3]:
count(x)
if x == 3:
count(x + 1)
>> '\x41\x42\x43'
'ABC'
>> '\x61\x62\x63'
'abc'
var x = '<p>this should <b>not</b> be highlighted as <em>HTML</em>';
<div id="contents">
<p>Hello, World!
</div>
<div id="contents">
<p>Hello, World!
</div>
<div id="contents">
<p>Hello, World!
</div>
<div id="contents">
<p>Hello, World!
</div>
Computer output
for x in [1, 2, 3]: count(x)
for x in [1, 2, 3]: count(x)
for x in [1, 2, 3]: count(x)
<? echo 'php'; /* ?>
<body>
<script>function tf (x) { return typeof x; }</script>
</body>
<? end of comment */ ?>
<?xml version="1.0"?>
<response value="ok" xml:lang="en"></response>
<?xml version="1.0"?>
<response value="ok" xml:lang="en"></response>
<?xml version="1.0"?>
<response value="ok" xml:lang="en"></response>
<?xml version="1.0"?>
<response value="ok" xml:lang="en"></response>
<head>
<meta charset="utf-8">
<title></title>
</head>
<head>
<meta charset="utf-8">
<title></title>
</head>
<head>
<meta charset="utf-8">
<title></title>
</head>