PRACTICE

Python Basics

Lesson notes

Your task

Print Hello, Python! on one line, then print 7 * 6 on the next.

Expected output
Hello, Python!
42
Loading…

OUTPUT

Worked solution
print("Hello, Python!")
print(7 * 6)

Checks compare printed output, not your approach. Several solutions can be valid.

← Back to courses