JavaScript required
We’re sorry, but Coda doesn’t work properly without JavaScript enabled.
Gallery
SOLUTION: Printing
Share
Explore
Gallery
SOLUTION: Printing
SOLUTION: Printing
The Task
Python - Starter Code
SOLUTION: Printing
Code Clips
The Task
Activity: Printing 📄
Start Here
Run and explore the program.
Edit the code to display
different text
on the screen (console).
Edit your program so that it displays
two
lines of text:
Display your
name
on the
first
line.
Display
one fact
about yourself on the
second
line.
Change the code on the two lines to
print('text', end=' ')
instead of
print('text')
What happens when you run the program?
Good luck! 🍀
Sample Output
My name is Danny I can cycle up mountains
Gallery
Share
Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
Ctrl
P
) instead.