Task 1
Use a prompt box to ask the user to enter a word. Then use a combination of the split()
, reverse()
, and join()
methods to write the word backward. For example, “hello” would become “olleh”.
Get hands-on with 1400+ tech skills courses.
Use a prompt box to ask the user to enter a word. Then use a combination of the split()
, reverse()
, and join()
methods to write the word backward. For example, “hello” would become “olleh”.
Get hands-on with 1400+ tech skills courses.