Add two variables · บวกตัวแปรสองตัว
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 · Variables · ตัวแปร →
English
Add two variables
You can add the values inside two boxes: a + b.
ไทย
บวกตัวแปรสองตัว
คุณสามารถรวมค่าจากสองกล่อง: a + b
Set a to 4 and b to 5. Print a + b. It shows 9. · กำหนด a เป็น 4 และ b เป็น 5. พิมพ์ a + b. มันแสดง 9
Click Run to see the output here. · คลิก Run เพื่อดูผลลัพธ์ที่นี่