MulaiMulai sekarang secara gratis

Running your first Python script

You're starting to build your first ever Python project as a developer. Before adding features, you need to verify that everything is working correctly. One way to test this is by using the print() function to display a message. One has been provided for you here. You can run the code as many times as you want, and when you're ready, you can submit it to complete the exercise.

Time to take your first step into Python programming.

Latihan ini adalah bagian dari kursus

Introduction to Python for Developers

Lihat Kursus

Petunjuk latihan

  • Run the print() function to display the message.

Latihan interaktif praktis

Cobalah latihan ini dengan menyelesaikan kode contoh berikut.

# Your first print function
print("Hello, world!")
Edit dan Jalankan Kode