-
Notifications
You must be signed in to change notification settings - Fork 1
03 variables
anjali0706 edited this page Aug 5, 2019
·
2 revisions
a = 10 print(type(a))
str1 = 'hello Ram' #string str1 using single quote
str2 = "How are you" #string str2 using double quote
print(str1)
print(str2)
a = [5,10,15,20,25,30,35,40] print(a)
my_tuple = (1, 2.8, "Hello Ram") #tuple of int, float, string print(my_tuple)
dictionary_list = {1:'Ram', 2:'Shyam', 3:'Balram', 4:'Raju'};
print (dictionary_list);
print (dictionary_list.keys());
print (dictionary_list.values());