Ainsteinx Logo
Ainsteinx
👤
Welcome to Ainsteinx
Login

Change Language

Currency

Home
Blog
Services
ທຸກບົດຮຽນ
EP.1 Python ສຳລັບຄົນ Laos

Your first program: print()

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

Your first program: print()

Write your first program in a single line!

print() ແມ່ນຄຳສັ່ງທີ່ໃຫ້ Python ສະແດງຂໍ້ຄວາມອອກໜ້າຈໍ. ຂໍ້ຄວາມທີ່ຢູ່ໃນເຄື່ອງໝາຍ " " ເອີ້ນວ່າ string.

Python ອ່ານໂຄດຈາກເທິງລົງລຸ່ມ ເທື່ອລະແຖວ, ສະນັ້ນ print 2 ແຖວ ກໍຈະໄດ້ຂໍ້ຄວາມ 2 ແຖວ.

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

ຜົນລັບ

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