Saturday, October 23, 2021

Blockchain: 101 (By - Kapil Sharma)

 https://testing-mines.blogspot.com/2021/10/blockchain-101-by-kapil-sharma.html

Blockchain through the following attributes:

  • Distributed: The distributed ledger is shared and updated in real-time with every incoming transaction among the nodes connected to the Blockchain. No central server controlling the data.
  • Secure Transparent : There is no unauthorized access to Blockchain made possible through Permissions and Cryptography and every node know about all transactions. 
  • Consensus-based Algo: All relevant network participants must agree that a transaction is valid by use of consensus algorithms. (POW/POC)
  • Flexible: Smart Contracts which are executed based on certain conditions can be written into the platform. 



Blockchain Technology Benefits:

  • Time-saving: No central Authority verification needed for settlements making the process faster and cheaper. 
  • Cost-saving: Participants can share assets directly. 
  • Tighter security: No one can temper with Blockchain Data as it shared among millions of Participant. 

Monday, October 12, 2020

Python Class 186 (Missile Speed Calculator) - Kapil

I/P:

print ("** Missile speed calculator **")

print()
MSV = float(input("Please enter the missile speed in Mach: "))

KMV = 1234*MSV

PSV = KMV/60/60
print()
print("The missile travel: %.2f" %PSV,"KM per second speed")
print()
MRV1 = float(input("Please enter the missile range in KM: "))

MRV2 = MRV1/PSV
print()
print("Missile travel",MRV1,"KMs in %.2f" %MRV2, "seconds.")

O/P:
** Missile speed calculator ** Please enter the missile speed in Mach: 8 The missile travel: 2.74 KM per second speed Please enter the missile range in KM: 450 Missile travel 450.0 KMs in 164.10 seconds.


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


Tuesday, September 15, 2020

Python Class 185 (Price-to-Earnings Ratio) - Kapil

 print ("** Price-to-Earnings Ratio **")


#Price per share / Earnings per share = P/E Ratio

PPS = float(input("Please enter price per share: "))
EPS = float(input("Please enter earnings per share: "))

PER = PPS / EPS

print("Price-to-Earnings Ratio is: %.2f" %PER)


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


Monday, September 7, 2020

Python Class 184 (List, Operators) - Kapil

my_list1 = ["Kapil", "Apil",0,1,2,3,4]


for my_items in my_list1:

        print(my_items * 2)

        print(my_items, 2*2)


O/P: 

KapilKapil Kapil 4 ApilApil Apil 4 0 0 4 2 1 4 4 2 4 6 3 4 8 4 4



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



Wednesday, August 19, 2020

Python Class 183 (Classification Metrics: Recall) - Kapil

I/P:
print("*** Classification Metrics: Recall ***")
print()
TPV = float(input("Please enter the True Postive value: "))
FNV = float(input("Please enter the False Negative value: "))
print()
RV1 = TPV+FNV
RV2 = TPV/RV1
print()
print("The Recall Value is %2f"%RV2)

#*(Bad) 0 </ Recall </ 1 (Good)


O/P

*** Classification Metrics: Recall *** Please enter the True Postive value: 2 Please enter the False Negative value: 8  

The Recall Value is 0.200000 



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


Saturday, August 15, 2020

Python Class 182 (Money Exchange Rate ) - Kapil

 print("*** Money Exchange Rate Application ***")

# c = a * b
# MER = Money After Exchange / Money Before Exchange
print()
AFE = float(input("Please enter the money amount after exchange: "))

MBE = float(input("Please enter the money amount before exchange: "))

MER = AFE / MBE
print()
print("The money exchange forumla ratio one is: %2f" %MER)
print()

print("Money exchange rate formula two: ")

c = MBE * MER

print("Money exchange amount for received for currency conversion is: %2f" %c)


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

Wednesday, August 12, 2020

Python Class 181 (Gratuity Calculator Application) - Kapil

print ("*** Gratuity Calculator Application ***")
print()
LSD = float(input("Please enter your last drawn salary amomunt for your current company: "))
NYW = float(input("Please enter number of years working in current company: "))
print()
TGA = LSD * (15/26) * NYW
print("The total gratuity amount is: %.2f" %TGA)

===============================================================
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...