from pip._vendor.distlib.compat import raw_input
print("\n")
print("*** Welcome to Bank Financial Software Solutions *** ")
print(" \t ** This is a addition calculator ** ")
print("\n")
Uvalue1 = float(raw_input("Please enter the first rupee value, user wants to add: \n"))
Uvalue2 = float(raw_input("Please enter the second rupee value, user wants to add: \n"))
Result = (Uvalue1 + Uvalue2)
print("\n")
print("The two amount addition sum is:", Result, "Rupees", "\n")
=====================================================
from pip._vendor.distlib.compat import raw_input
print("\n")
print("*** Welcome to the Store Inventory Management Software Solutions *** ")
print(" \t ** This is a Store Inventory Management Program ** ")
print("\n")
Inventory1 = ["Rice", "Maze", "Oil", "Toothpaste", "Beans", "Cloth", "Pepper"]
print("Here are present items list information:", Inventory1)
CheckInv1 = input('Is this item present in the inventory: \n')
if CheckInv1 in Inventory1:
print("This item is present in the inventory list.")
else:
print("User entered item is not present in the list.")
Thanks to user: https://stackoverflow.com/users/2897372/===============================================================
https://github.com/bornfreesoul/PythonLessons
https://www.youtube.com/channel/UCe0rLJmSQXNoK2Mo2eMVuvg
https://github.com/bornfreesoul/PythonLessons
https://www.youtube.com/channel/UCe0rLJmSQXNoK2Mo2eMVuvg
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.