#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) |
Friday, May 8, 2020
Python Class 110 - Kapil Sharma
Location:
Panchkula, Haryana, India
Subscribe to:
Post Comments (Atom)
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...
-
The scientific study of UFOs for the benefit of humanity. Goals I. Investigate UFO sightings and collect the data in the MUFON Data...
-
I/P : print ( "*** Classification Metrics: Recall ***" ) print () TPV = float( input ( "Please enter the True Postive value: ...
-
Open Source Linux flavour for hacking and pen-test: These are some Linux flavours used by pen testers and security auditors. 1) http...
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.