MulaiMulai sekarang secara gratis

Writing your first Python script

Now that you've verified things are working, it's time to personalize it! As you code more, you'll need to display different messages. Remember, you can write any message you want inside the quotation marks. This time, instead of running a pre-written message, you'll craft your own message.

Latihan ini adalah bagian dari kursus

Introduction to Python for Developers

Lihat Kursus

Petunjuk latihan

  • Write a print statement that displays the message Welcome to the recipe scaler.

Latihan interaktif praktis

Cobalah latihan ini dengan menyelesaikan kode contoh berikut.

# Fill in the print function
____("____")
Edit dan Jalankan Kode