The bigger number · เลขที่ใหญ่กว่า
The bigger number
a is 8 and b is 15. Store the bigger of the two in biggest. Do not use max.
A branch can set a variable, not only print. Give biggest a value on both paths, or one path leaves it undefined and Python says NameError.
เลขที่มีค่ามากกว่า
a คือ 8 และ b คือ 15. เก็บค่าที่สูงกว่าของทั้งสองลงในตัวแปร biggest. ห้ามใช้ max
A branch can set a variable, not only print. Give biggest a value on both paths, or one path leaves it undefined and Python says NameError.
a is 8 and b is 15. Store the bigger of the two in biggest. Do not use max. · a คือ 8 และ b คือ 15. เก็บค่าที่สูงกว่าของทั้งสองลงในตัวแปร biggest. ห้ามใช้ max
Click Run to see the output here. · คลิก Run เพื่อดูผลลัพธ์ที่นี่