Skip to content
On this page

03_If_06.py

WARNING

โค้ดกาวมากครับ อย่าลอกเลย 😭😭😭

ทำเองเถอะนะครับ จะได้ทำข้อสอบได้ 🥲🥲🥲

py
p = int(input())

print(18 if p <= 100 else 22 if p <= 250 else 28 if p <=
      500 else 38 if p <= 1000 else 58 if p <= 2000 else "Reject")

People who plagiarize Com Prog HW:

People who do Com Prog HW by themself:

Released under the MIT License