รับชื่อและนามสกุล (บรรทัดละ 1 คำ) บรรทัดที่ 1 แสดง "Hello <ชื่อ> <นามสกุล>" บรรทัดที่ 2 แสดงชื่อเล่นจาก 2 ตัวอักษรแรกของชื่อ + 2 ตัวอักษรแรกของนามสกุล
2 ≤ ความยาวชื่อ, นามสกุล ≤ 50
Katy Perry
Hello Katy Perry KaPe
Alex Goot
Hello Alex Goot AlGo
John Smith
Hello John Smith JoSm
first = input()
last = input()
print(f"Hello {first} {last}")
print(first[:2] + last[:2]) 💡 ใช้ slicing [:2] เพื่อตัดเอา 2 ตัวอักษรแรก แล้วใช้ + ต่อ string
กด Run เพื่อรันโค้ด หรือ ตรวจคำตอบ เพื่อตรวจ test cases