Showing posts with label example. Show all posts
Showing posts with label example. Show all posts

Saturday, August 8, 2020

Python Class 180 (Profit calculation on basis of stock dividend ) - Kapil

print ("** Stock dividend - calculator application **")

print()

TNST = float(input("Please enter the count of total number of stocks: "))
ADPO = float(input("Please enter annual dividend payout per annum: "))
CSPP = float(input("Please enter the current stock price: "))

DPAY = (ADPO/CSPP) * 100

print()

print("The annual dividend yield value is: %.2f " %DPAY)

print()

TPSV = ADPO * TNST

print("Total profit due to dividend is: %.2f" %TPSV)

===============================================================
https://github.com/bornfreesoul/PythonLessons
https://www.youtube.com/channel/UCe0rLJmSQXNoK2Mo2eMVuvg

Saturday, June 20, 2020

Python Class 163 (Fahrenheit Temperature) - Kapil

print(" **** Application to calculate Fahrenheit Temperature. **** ") print("\n") #F = (C * 1.8) + 32 CV = float(input("Please enter the Temperature in Celsius: ")) FV = (CV * 1.8) + 32 print("The Temperature in Fahrenheit is:",FV)


===============================================================

https://github.com/bornfreesoul/PythonLessons

https://www.youtube.com/channel/UCe0rLJmSQXNoK2Mo2eMVuvg 


Friday, June 19, 2020

Python Class 162 (Surface Tension) - Kapil

print(" **** Application to calculate surface tension. **** ")

def force_function(n1,n2):
          return (n1/n2)

print("\n")
#T = F/L

FV = float(input("Please enter the force per unit length in Newton: "))
LV = float(input("Please enter length in which force act in per Meter: "))

print("The surface tension of the liquid:", force_function(FV, LV), "N/m")


===============================================================

https://github.com/bornfreesoul/PythonLessons

https://www.youtube.com/channel/UCe0rLJmSQXNoK2Mo2eMVuvg 



Wednesday, June 3, 2020

Python Class 140 (Total Sale) - Kapil Sharma

print ("*** Application for Total Sale Amount Formula ***")

print ("\n")

SP = float(input("Please enter the Selling Price value:"))
ST = float(input("Please enter the Sale Tax value:"))

#Total sale amount = selling price + sales tax.

TSA = SP + ST 

print ("The total sale amount value is:" , (TSA))


===============================================================


https://github.com/bornfreesoul/PythonLessons


https://www.youtube.com/channel/UCe0rLJmSQXNoK2Mo2eMVuvg


Blockchain: 101 (By - Kapil Sharma)

 https://testing-mines.blogspot.com/2021/10/blockchain-101-by-kapil-sharma.html Blockchain through the following attributes: Distributed:  T...