#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...
-
print ("*** Application to calculate the Wave Energy Density ***") print ("\n") # The wave energy formula is given by,...
-
Nikola Tesla is considered the father of our modern technological age and one of the most mysterious and controversial scientists in histor...
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.