Showing posts with label Input and Output Program in Python. Show all posts
Showing posts with label Input and Output Program in Python. Show all posts

Thursday, March 14, 2019

Input and Output Program in Python

Here is a sample program that we wrote in Python to show you basic input and output. The code is very simple and easy to understand.

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.

My telephone number at home here in Bacolod City, Negros Occidental Philippines is  +63 (034) 4335675.

Here in Bacolod I also accepting computer repair, networking and Arduino Project development at a very affordable price.

My personal website is http://www.jakerpomperada.com



Sample Program Output


Program Listing

# variables.py# Written By Rolly M. Moises and Jake R. Pomperada
# Tools : PyCharm 2018.3.5 Community Edition# March 14, 2019     Thursday   8:21 AM
# Bacolod City, Negros Occidental
print()
print("\tBacolod Software Inc. Employee's Information System")
print()

full_name =input("\tGive Employee's Name             : ")
age = int(input("\tGive Employee's Age              : "))
position=input("\tGive Employee's Position         : ")
wage= input("\tWhat is Employee's Wage          : ")
wage2 = float(wage)
yearly_salary=input("\tWhat is Employee's Yearly Salary : ")
yearly_salary2 = float(yearly_salary)
gender=input("\tWhat is Employee's Gender        : ")

print()
print("\t ===== DISPLAY RESULT =====")
print()
print("\t Employee's Name           :",full_name.upper())
print("\t Employee's Age            : {0}".format(age))
print("\t Employee's Position       :",position.upper())
print("\t Employee's Wage           : PHP %.2f" % round(wage2,2))
print("\t Employee's Yearly Salary  : PHP %.2lf" % round(yearly_salary2,2))
print("\t Employee's Gender         :",gender.upper())
print()
print("\t ===== END OF PROGRAM =====")
print()