Add two numbers · บวกสองตัวเลข
This page needs a recent browser (with SharedArrayBuffer support). Please update Chrome, Edge, Firefox or Safari to the latest version. · หน้านี้ต้องใช้เบราว์เซอร์ล่าสุด (รองรับ SharedArrayBuffer) กรุณาอัปเดต Chrome, Edge, Firefox หรือ Safari เป็นเวอร์ชันล่าสุด
This one builds on a lesson you haven't finished yet. Do that lesson first: · อันนี้สร้างจากบทเรียนที่คุณยังไม่เสร็จสิ้น ให้ทำบทเรียนนั้นก่อน:
Python Basics · Numbers & operators · ตัวเลขและตัวดำเนินการ →
English
Add two numbers
Python can do maths. 2 + 3 becomes 5 before it is printed.
ไทย
บวกสองตัวเลข
Python สามารถทำคณิตศาสตร์ได้ 2 + 3 จะกลายเป็น 5 ก่อนที่จะถูกพิมพ์
Use + to show 5. Try print(2 + 3). · ใช้ + แสดง 5 ลอง print(2 + 3)
Click Run to see the output here. · คลิก Run เพื่อดูผลลัพธ์ที่นี่