Friday, December 31, 2021

Input String in Python 2 in Linux

 A simple program in Python shows you have to accept string input from the user using Python 2.

I am currently accepting programming work, IT projects, school and application development, programming projects, thesis and capstone projects, IT consulting work, computer tutorials, and web development work kindly contact me in the following email address for further details.  If you want to advertise on my website kindly contact me also in my email address also. Thank you.


My email address is the following jakerpomperada@gmail.com, jakerpomperada@aol.com, and jakerpomperada@yahoo.com.

My mobile number here in the Philippines is 09173084360.






Program Listing

# input_string.py # Reverse a String in Python in Linux # Jake Rodriguez Pomperada, MAED-IT, MIT # www.jakerpomperada.com and www.jakerpomperada.blogspot.com # Globe Number : 09173084360 # Bacolod City, Negros Occidental Philippines. # Version of Python : Python 2.0 print("\n") print("\tInput String in Python 2 in Linux") print("\n") string_val = raw_input("\tGive Your Name : ") print("\n\n") print("\tHow are you {0}?".format(string_val)) print("\n") print("\tEnd of Program") print("\n")

No comments:

Post a Comment