Python Basic

#print is for display
#print ("Hello World!")

#Integer data type
#myvar = 1
#print (myvar)

#string data type
fruit = "apple"
print (fruit)

price = 1.50
print (price)

#list data type

list1 = [1,2,3,"a","b"];
print (list1[3])

a = 1
b = 5
c = a + b
print (a + b)

d = 4
e = d + a
print (e)

Comments

Popular posts from this blog

WAN Technology

LO3 - Know the features and functions of information systems

WDD - LO1 - MANAGE SECURE SITES