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)

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.

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