Ainsteinx Logo
Ainsteinx
👤
Welcome to Ainsteinx
Login

Change Language

Currency

Home
Blog
Services
All lessons
EP.1 Python for Laos

Your first program: print()

print("ສະບາຍດີ ລາວ!")
print("ຂ້ອຍກຳລັງຮຽນ Python")
Video coming soon
EP.1 Basics

Your first program: print()

Write your first program in a single line!

print() tells Python to show text on the screen. Text inside " " quotes is called a string.

Python reads code from top to bottom, one line at a time, so two print lines give two lines of text.

ep01-hello-world.py
print("ສະບາຍດີ ລາວ!")
print("ຂ້ອຍກຳລັງຮຽນ Python")

Output

ສະບາຍດີ ລາວ!
ຂ້ອຍກຳລັງຮຽນ Python
  • #PythonສຳລັບຄົນLaos
  • #Python
  • #ຮຽນໂປຣແກຣມ
  • #ບອກຕໍ່ຄວາມຮູ້
  • #shorts

Watch and share on