Skip to content

Commit cfacddc

Browse files
committed
replace <input> with <code>
1 parent f308a2d commit cfacddc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pretext/introduction.ptx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -369,14 +369,14 @@ print(total)
369369

370370

371371
<program xml:id="python-hello-world" interactive='activecode' language="python">
372-
<input>
372+
<code>
373373
print("My first program adds a list of numbers")
374374
myList = [2, 4, 6, 8, 10]
375375
total = 0
376376
for num in myList:
377377
total = total + num
378378
print(total)
379-
</input>
379+
</code>
380380
</program>
381381

382382
<p> With Sphinx I had a way to write large documents in a very simple markup language called <url

0 commit comments

Comments
 (0)