Categories
Easy Problems

โจทย์เขียนโปรแกรมข้อ VZ0087

จงเขียนฟังก์ชั่นที่ส่งข้อความที่เข้ารหัส (h4ck3r 5p34k) ออกมาจากข้อความที่ป้อนเข้าไป

Examples
hackerSpeak(“javascript is cool”) ➞ “j4v45cr1pt 15 c00l”

hackerSpeak (“programming fun”) ➞ “pr0gr4mm1ng fun”

hackerSpeak (“become a coder”) ➞ “b3c0m3 4 c0d3r”

เฉลย ด้วยภาษา Python

Leave a Reply