-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsecond.py
More file actions
75 lines (62 loc) · 1.45 KB
/
second.py
File metadata and controls
75 lines (62 loc) · 1.45 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
# x = 1
# y = 2
# # print(x)
# # print(y)
# # print(x,y)
# print(x+y)
# print(y-x)
# print(x*y)
# print(x/y)
# x = int(input('enter the number : '))
# y = int(input('enter the number : '))
# print(x+y)
# print(x-y)
# print(x*y)
# print(x/y)
#true variable
# x=1
# y1= "hello"
# _a = 5.5
# number =7
# false variable
#1x= 1
# #x =5
# print(type(x))
# print(type(y1))
# print(type(_a))
# #float
# a = 8
# b = 16.0
# print(a+b)
# print(a-b)
# print(a*b)
# print(b/a)
#String
# name = "dhyey"
# lastname = 'vithani'
# print(name+lastname)
# print(name,lastname)
# student={"name":{1:"hello"}}
# print(student["name"][1])
# students={
# "1":"Poter",
# "2":"voughn",
# "3":"Joe"
# }
# for First_name in students:
# print(First_name,students[First_name])
Data = [
{"Name":"Harry","Age":"25","Edu":"BCA","Work":"Softwear Developer","Salary":"100000"},
{"Name":"Jack","Age":"36","Edu":"B.Sc","Work":"physicist","Salary":"500000"},
{"Name":"Ramcharan","Age":"41","Edu":"B.tech","Work":"Chemical Engineer","Salary":"300000"},
{"Name":"james","Age":"55","Edu":"BA","Work":"Proffesor","Salary":"250000"},
{"Name":"Sam","Age":"23","Edu":"M.tech","Work":"A.I. Reseacher","Salary":"1000000"}
]
# for i in Data:
# print(i["Name"],i["Age"],i["Edu"],i["Work"],i["Salary"],end=" ")
# print()
# print(Data[0])
# print(Data[1])
# print(Data[2])
# print(Data[3])
# print(Data[4])