Write A Python Function That Accepts A Word From The User And Reverse It

Published: 15 February 2023
on channel: Code With TJ
629
6

Hello Programmers, Welcome to my channel.

In this video you will learn about how to Write A Python Function That Accepts A Word From The User And Reverse It

Python Scripts
======================
https://codewithtj.blogspot.com/2024/...

Python Functions Solved
==========================
https://codewithtj.blogspot.com/2023/...

Python Programs Solved
============================
https://codewithtj.blogspot.com/2023/...



Code
=============================
def reverse_word(word):
new_word = ""
for letter in word:
new_word = letter + new_word
return new_word


text = input("Enter a word : ")
print("Reverse of word is : ", reverse_word(text))




Keywords
=============================
#python #python3 #python_assignment #pythonprogramming #pythontutorial #pythonprojects #pythoncourse #pythonbaba #pythonforbeginners #pythonautomation #pythonbasic #pythonbeginners


On this page of the site you can watch the video online Write A Python Function That Accepts A Word From The User And Reverse It with a duration of hours minute second in good quality, which was uploaded by the user Code With TJ 15 February 2023, share the link with friends and acquaintances, this video has already been watched 629 times on youtube and it was liked by 6 viewers. Enjoy your viewing!