Showing posts with label Syntax. Show all posts
Showing posts with label Syntax. Show all posts

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 


Sunday, June 7, 2020

Python Class 145 (Relative Frequency) - Kapil Sharma

#Relative Frequency  = Successful trials / Total number of trials 

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

ST1 = float(input("Please enter the successful trials count:"))
TT2 = float(input("Please enter the number of trials count:"))

RF = RelativeFrequency_function(ST1, TT2) * 100

print("The Relative frequency percentage is:",RF, "%")


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

https://github.com/bornfreesoul/PythonLessons

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

Friday, May 8, 2020

Python Class 110 - Kapil Sharma


#Printing Strings
print("Hello World!")
#Print Addition
myData1 = 4 + 5
print(myData2)
#Print Subtraction
myData2 = 4 - 5
print(myData2)
#Print Multiply
myData3 = 4 * 5
print(myData3)
#Print Divide
myData4 = 4 / 5
print(myData4)
#Printing Variables
myData5 = 45
print(myData5)
#Printing Float
myData6 = 45.5
print(myData6)
#Printing Alpha Numeric Output
Model_number = 1234098
OEM = "Samsung"
Screen_size = 6.5
Avaiable = True
print("Model Number:",Model_number,"\n","OEM Details:", OEM)

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