@tushar-br/desktop 1.0.245 → 1.0.246

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of @tushar-br/desktop might be problematic. Click here for more details.

Files changed (117) hide show
  1. package/package.json +1 -1
  2. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614493749_ch--2.pdf +0 -0
  3. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614493945_ch--3.pdf +0 -0
  4. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614494131_ch--4.pdf +0 -0
  5. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614494252_ch--5.pdf +0 -0
  6. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614494397_ch--1.pdf +0 -0
  7. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614502261_python_CO_Wise_Assignments.pdf +0 -0
  8. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614502630_python_manual.pdf +0 -0
  9. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614525408_Prectical_3_python.pdf +1974 -3
  10. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614525554_prectical_4_quiz.pdf +0 -0
  11. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614525699_prectical_5_quiz_python.pdf +2776 -6
  12. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614525889_prectical_6_quiz_python.pdf +2915 -3
  13. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614526007_prectical_7_quiz_python.pdf +0 -0
  14. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614526105_prectical_8_quiz_python.pdf +0 -0
  15. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614526215_prectical_9_quiz_python.pdf +0 -0
  16. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614526306_prectical_10_quiz_python.pdf +0 -0
  17. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614526392_prectical_11_quiz_python.pdf +0 -0
  18. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614526449_prectical_12_quiz_python.pdf +0 -0
  19. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614526551_prectical_13_quiz_python.pdf +0 -0
  20. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614526635_prectical_14_quiz_python.pdf +0 -0
  21. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614526721_prectical_16_quiz_python.pdf +0 -0
  22. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614526809_prectical_17_quiz_python.pdf +0 -0
  23. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614526919_prectical_18_quiz_python.pdf +0 -0
  24. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614527016_prectical_19_quiz_python.pdf +0 -0
  25. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614527097_prectical_20_python_quiz.pdf +0 -0
  26. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614527184_prectical_21_python.pdf +0 -0
  27. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614527305_prectical_22_quiz_python.pdf +0 -0
  28. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614527491_prectical_23_quiz_python.pdf +0 -0
  29. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614527617_prectical_24_quiz_python.pdf +0 -0
  30. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614527762_prectical_25_quiz_python.pdf +0 -0
  31. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614527911_ch1-Quiz.pdf +0 -0
  32. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614607798_Prectical-1.html +57 -0
  33. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614608182_Prectical-2.html +18 -0
  34. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614608243_Prectical-3.html +20 -0
  35. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614608522_Prectical-4.html +43 -0
  36. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614608678_Prectical-5.html +25 -0
  37. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614608736_PRectical-6.html +25 -0
  38. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614608792_Prectical-7.html +29 -0
  39. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614608851_Prectical-8.html +33 -0
  40. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614608903_Prectical-9.html +101 -0
  41. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614608970_prectical-10.pdf +0 -0
  42. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614609037_Prectical-11.html +74 -0
  43. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614609097_Prectical-12.html +41 -0
  44. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614609159_Prectical-13.html +79 -0
  45. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614609237_Prectical-14.html +48 -0
  46. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614609310_Prectical-15.html +41 -0
  47. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614609381_Prectical-16.html +41 -0
  48. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614609491_Prectical-17.html +40 -0
  49. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614609562_Prectical-18.html +27 -0
  50. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614609643_Prectical-19.html +86 -0
  51. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614609717_Prectical-20.html +75 -0
  52. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614609825_Prectical-21.html +91 -0
  53. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614636907__--Practical_No.5_Use_sorted__order.txt +25 -0
  54. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614637017__--Practical_No.6_Use_unsorted__uno.txt +25 -0
  55. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614637136__--Practical_No.7_Use_definition__d.txt +29 -0
  56. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614637260__--Practical_No.8_Use_semantic_tags.txt +33 -0
  57. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614637365__--Practical_No.9--.txt +101 -0
  58. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614637486__--Practical_No.11-htmlUse_inline__inte.txt +74 -0
  59. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614637595__--Practical_No.12--.txt +41 -0
  60. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614637686__--Practical_No.13--.txt +79 -0
  61. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614637786__--Practical_No.14-_Use_JavaScript_.txt +48 -0
  62. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614638006__--Practical_No.15_To_use_JavaScrip.txt +41 -0
  63. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614638179__--Practical_No.17_To_use_JavaScrip.txt +40 -0
  64. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614638335__--Practical_No.18_To_use_JavaScrip.txt +27 -0
  65. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614638470__--Practical_No.19_Use_JavaScript_u.txt +86 -0
  66. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614638587__--Practical_No.20_Use_JavaScript_t.txt +75 -0
  67. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614638694__--Practical_No.21_Use_JavaScript_t.txt +91 -0
  68. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614638787_Practical_No.11-css.txt +8 -0
  69. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614638883_Practical_No.12-css.txt +40 -0
  70. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614638972_prectical-16html.txt +41 -0
  71. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614639072__--_Practical_No.1_Use_HTML_text_fo.txt +57 -0
  72. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614639214__--_Practical_No.3_Use_image_tags_t.txt +20 -0
  73. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614639321__--Practical_No.2_Use_hyper_link_ta.txt +18 -0
  74. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614639410__--Practical_No.4_Use_HTML_table_ta.txt +43 -0
  75. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614653879_HTML-_Learn.pdf +0 -0
  76. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771615138710_Lab_Manual_4321603.pdf +0 -0
  77. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771615168151_maths_sem_2_mid_1___CWT.pdf +1616 -5
  78. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771615168331_Physics_sem_2_mid_1___CWT.pdf +1541 -3
  79. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771615168504_python_sem_2_mid_1___CWT.pdf +3073 -4
  80. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771615168622_E.S_sem_2_mid_1___CWT.pdf +1690 -7
  81. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771615178590_e.s._sem_-2___mid-2_-_CWT.pdf +2261 -7
  82. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771615178810_maths_mid-2__IT_sem-2_-CWT.pdf +1713 -3
  83. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771615179004_phisics_sem-2__mid_-2_-CWT.pdf +2184 -4
  84. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771615179183_python_sem-2__mid-2_-CWT.pdf +2337 -4
  85. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771615208898_APP_assignment_CO_Wise.pdf +0 -0
  86. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771615209239_LABMANUAL.pdf +0 -0
  87. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771615252109_prectical13new.html +165 -0
  88. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771615252617_prectical14.html +173 -0
  89. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771615252771_prectical15.html +172 -0
  90. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771615252880_prectical16.html +167 -0
  91. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771615253003_prectical17.html +161 -0
  92. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771615253153_prectical18.html +161 -0
  93. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771615253301_prectical19.html +161 -0
  94. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771615253440_prectical20.html +161 -0
  95. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771615253559_prectical21.html +161 -0
  96. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771615253655_prectical22.html +161 -0
  97. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771615253773_prectical23.html +161 -0
  98. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771615253961_prectical24.html +161 -0
  99. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771615254081_prectical25.html +161 -0
  100. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771615254185_prectical1.html +182 -0
  101. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771615254292_prectical2.html +168 -0
  102. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771615254429_prectical3.html +163 -0
  103. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771615254659_prectical4.html +165 -0
  104. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771615254962_prectical5.html +237 -0
  105. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771615255210_prectical6.html +176 -0
  106. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771615255422_prectical7.html +179 -0
  107. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771615255585_prectical8.html +176 -0
  108. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771615255789_prectical9.html +170 -0
  109. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771615255993_prectical10.html +190 -0
  110. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771615256276_prectical11.html +188 -0
  111. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771615256486_prectical12.html +167 -0
  112. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771615272643_pre12-2.png +0 -0
  113. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771615272747_pre12-3.png +0 -0
  114. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771615272874_pre13.png +0 -0
  115. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771615273030_pre12.png +0 -0
  116. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771615434649_Brochure_IIT_Bombay.pdf +0 -0
  117. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614505386_Python_diplomaitmorbi.netlify.app.pdf.ts_part_1 +0 -0
@@ -0,0 +1,190 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+
4
+ <head>
5
+ <meta charset="UTF-8">
6
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
7
+ <title>Prectical-10 python(4321602)</title>
8
+ </head>
9
+
10
+ <body style="background-image: url(menbackground.jpg);">
11
+ <center>
12
+ <div class="card">
13
+ <div class="titlebar" style="background-image: url(menbackground.jpg);">
14
+ <center>
15
+ <h3 style="color:white;">Prectical-10 </h3>
16
+ <p style="font-size: 17px; color: white;"> [10]_ Write a program to demonstrate the dictionaries functions and operations.</p>
17
+ </center>
18
+ <span class="buttons">
19
+ <button class="minimize" onclick="alert('Only For Window ')">
20
+ <svg x="0px" y="0px" viewBox="0 0 10.2 1"><rect x="0" y="50%" width="10.2" height="1"></rect></svg>
21
+ </button>
22
+ <button class="maximize" onclick="alert('Only For Window ')">
23
+ <svg viewBox="0 0 10 10"><path d="M0,0v10h10V0H0z M9,9H1V1h8V9z"></path></svg>
24
+ </button>
25
+ <a href="https://diplomaitmorbi.netlify.app/sem-2/python"> <button class="close">
26
+ <svg viewBox="0 0 10 10"><polygon points="10.2,0.7 9.5,0 5.1,4.4 0.7,0 0,0.7 4.4,5.1 0,9.5 0.7,10.2 5.1,5.8 9.5,10.2 10.2,9.5 5.8,5.1"></polygon></svg>
27
+ </button></a>
28
+ </span>
29
+ </div>
30
+ <div class="cppcode">
31
+
32
+
33
+
34
+
35
+
36
+
37
+
38
+ <p style="color:white;">
39
+ students={} <br> print("Empty Dictionary:") <br>
40
+ <br>print("Adding item to dictionary:")
41
+ <br>students[1]="Ram"
42
+ <br>students[1]="Anjali"
43
+ <br>students[1]="Rahul"
44
+ <br> print(students)
45
+ <br><br> print("Accesing dictionary by key:",studnets[3]) <br> print("Using get method:",students.get(3))
46
+ <br> <br> print("Traversing dictionary:") <br> for key in students:
47
+ <br>print(key, ":", students[key]) <br>
48
+ <br> for key, value in students.items(): <br> print(key, ':', value) <br>
49
+ <br>print("Use of membership operator")
50
+ <br>print(1 in students)
51
+ <br>print(5 in students)
52
+ <br><br> print(5 not in students) <br> print(5 not in students) <br>
53
+ <br> print("CHanging value of key:") <br> students[1]="Raj" <br> print(students) <br>
54
+ <br> print("Lenght of dictionary", len(students)) <br>
55
+ <br> Dict=dict({1:'hello',2:'world!'})
56
+ <br>print("Create Dictionary by using dict():")
57
+ <br>print(Dict) <br>
58
+ <br>keys=students.keys()
59
+ <br> print("Student dictionaries keys:")
60
+ <br>print(keys)
61
+ <br> <br> values=students.values() <br> print("student dictionaries value:")
62
+ <br> print(value)
63
+ <br>
64
+ <br> print("Merge the dictionaries:")
65
+ <br> students.update({4:"Ram", 5:"Ronit"})
66
+ <br> print(students)
67
+ <br><br> print("Copy of Dictionary:")
68
+ <br>studnets
69
+ </p>
70
+
71
+
72
+
73
+
74
+
75
+ </code>
76
+ </pre>
77
+ </div>
78
+ </div>
79
+ <style>
80
+ body {
81
+ scrollbar-width: thin;
82
+ /* "auto" or "thin" */
83
+ scrollbar-color: rgb(41, 41, 103) rgba(163, 59, 137, 0.587);
84
+ /* scroll thumb and track */
85
+ }
86
+
87
+ .card {
88
+ width: 350px;
89
+ height: 600px;
90
+ background: #15001f;
91
+ border: 1px solid #c042ff;
92
+ font-size: 14px;
93
+ font-family: monospace;
94
+ overflow: auto;
95
+ }
96
+
97
+ .titlebar {
98
+ font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
99
+ font-size: 21px;
100
+ font-weight: 450;
101
+ background-color: #2e0043;
102
+ width: 100%;
103
+ text-align: right;
104
+ }
105
+
106
+ .card button {
107
+ width: 40px;
108
+ height: 35px;
109
+ margin-left: -5px;
110
+ border: 0;
111
+ outline: 0;
112
+ background: transparent;
113
+ transition: 0.2s;
114
+ }
115
+
116
+ button svg path,
117
+ button svg rect,
118
+ button svg polygon {
119
+ fill: #ffffff;
120
+ }
121
+
122
+ button svg {
123
+ width: 10px;
124
+ height: 10px;
125
+ }
126
+
127
+ .close:hover {
128
+ background-color: #e81123;
129
+ }
130
+
131
+ .maximize:hover {
132
+ background-color: #c042ff2e;
133
+ }
134
+
135
+ .minimize:hover {
136
+ background-color: #c042ff2e;
137
+ }
138
+
139
+ #pre {
140
+ overflow: auto;
141
+ width: 100%;
142
+ padding: 10px;
143
+ height: auto;
144
+ color: #bafff8;
145
+ }
146
+
147
+ .curlies {
148
+ color: #ff0000;
149
+ }
150
+
151
+ .sc {
152
+ color: #e600ff;
153
+ }
154
+
155
+ .rounds {
156
+ color: #ffffff;
157
+ }
158
+
159
+ .operator {
160
+ color: #ffff00;
161
+ }
162
+
163
+ .s1 {
164
+ color: #22ff00;
165
+ }
166
+
167
+ .s2 {
168
+ color: #4281ff;
169
+ }
170
+
171
+ .s3 {
172
+ color: #ff4284;
173
+ }
174
+
175
+ .s4 {
176
+ color: #ffae00;
177
+ }
178
+
179
+ .s5 {
180
+ color: #ffffff;
181
+ }
182
+
183
+ .s6 {
184
+ color: #ffff00;
185
+ }
186
+ </style>
187
+ </center>
188
+ </body>
189
+
190
+ </html>
@@ -0,0 +1,188 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+
4
+ <head>
5
+ <meta charset="UTF-8">
6
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
7
+ <title>Prectical-11 python(4321602)</title>
8
+ </head>
9
+
10
+ <body style="background-image: url(menbackground.jpg);">
11
+ <center>
12
+ <div class="card">
13
+ <div class="titlebar" style="background-image: url(menbackground.jpg);">
14
+ <center>
15
+ <h3 style="color:white;">Prectical-11 </h3>
16
+ <p style="font-size: 17px; color: white;"> [11]_Write a program to define a module to find the area and circumference of a circle</p>
17
+ </center>
18
+ <span class="buttons">
19
+ <button class="minimize" onclick="alert('Only For Window ')">
20
+ <svg x="0px" y="0px" viewBox="0 0 10.2 1"><rect x="0" y="50%" width="10.2" height="1"></rect></svg>
21
+ </button>
22
+ <button class="maximize" onclick="alert('Only For Window ')">
23
+ <svg viewBox="0 0 10 10"><path d="M0,0v10h10V0H0z M9,9H1V1h8V9z"></path></svg>
24
+ </button>
25
+ <a href="https://diplomaitmorbi.netlify.app/sem-2/python"> <button class="close">
26
+ <svg viewBox="0 0 10 10"><polygon points="10.2,0.7 9.5,0 5.1,4.4 0.7,0 0,0.7 4.4,5.1 0,9.5 0.7,10.2 5.1,5.8 9.5,10.2 10.2,9.5 5.8,5.1"></polygon></svg>
27
+ </button></a>
28
+ </span>
29
+ </div>
30
+ <div class="cppcode">
31
+
32
+
33
+
34
+
35
+
36
+
37
+
38
+ <p style="color:white;">
39
+ <br> (a) import the module to another program.<br> (b) import a specific function from a module to anothr program. import math
40
+ <hr>
41
+ </p>
42
+ <p style="color:white;">
43
+ <br>def findArea (radius) :
44
+ <br> return math.pi * radius * radius
45
+ <br><br>
46
+ <br>def findCircumference (radius) :
47
+ <br> return 2 * math.pi * radius
48
+ <br><br>
49
+ <br> (a) import the module to another program. import math
50
+ <br><br>
51
+ <br> def findArea (radius) :
52
+ <br> return math.pi * radius * radius
53
+ <br><br>
54
+ <br> def findCircumference (radius) :
55
+ <br> return 2 * math.pi * radius
56
+ <hr>
57
+ </p>
58
+ <p style="color:white;">
59
+ <br> (b) import a specific function from a module to another program.
60
+ <br>from circle import findArea, findCircumference
61
+ <br> r - float (input ('Enter the radius of a circle: '))
62
+ <br> print ("Area of Circle", findArea(r))
63
+ <br> print ("Circumference of circle", findCircumference (r))
64
+ <hr>
65
+ </p>
66
+ <br>
67
+ </p>
68
+
69
+
70
+
71
+
72
+
73
+ </code>
74
+ </pre>
75
+ </div>
76
+ </div>
77
+ <style>
78
+ body {
79
+ scrollbar-width: thin;
80
+ /* "auto" or "thin" */
81
+ scrollbar-color: rgb(41, 41, 103) rgba(163, 59, 137, 0.587);
82
+ /* scroll thumb and track */
83
+ }
84
+
85
+ .card {
86
+ width: 350px;
87
+ height: 600px;
88
+ background: #15001f;
89
+ border: 1px solid #c042ff;
90
+ font-size: 14px;
91
+ font-family: monospace;
92
+ overflow: auto;
93
+ }
94
+
95
+ .titlebar {
96
+ font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
97
+ font-size: 21px;
98
+ font-weight: 450;
99
+ background-color: #2e0043;
100
+ width: 100%;
101
+ text-align: right;
102
+ }
103
+
104
+ .card button {
105
+ width: 40px;
106
+ height: 35px;
107
+ margin-left: -5px;
108
+ border: 0;
109
+ outline: 0;
110
+ background: transparent;
111
+ transition: 0.2s;
112
+ }
113
+
114
+ button svg path,
115
+ button svg rect,
116
+ button svg polygon {
117
+ fill: #ffffff;
118
+ }
119
+
120
+ button svg {
121
+ width: 10px;
122
+ height: 10px;
123
+ }
124
+
125
+ .close:hover {
126
+ background-color: #e81123;
127
+ }
128
+
129
+ .maximize:hover {
130
+ background-color: #c042ff2e;
131
+ }
132
+
133
+ .minimize:hover {
134
+ background-color: #c042ff2e;
135
+ }
136
+
137
+ #pre {
138
+ overflow: auto;
139
+ width: 100%;
140
+ padding: 10px;
141
+ height: auto;
142
+ color: #bafff8;
143
+ }
144
+
145
+ .curlies {
146
+ color: #ff0000;
147
+ }
148
+
149
+ .sc {
150
+ color: #e600ff;
151
+ }
152
+
153
+ .rounds {
154
+ color: #ffffff;
155
+ }
156
+
157
+ .operator {
158
+ color: #ffff00;
159
+ }
160
+
161
+ .s1 {
162
+ color: #22ff00;
163
+ }
164
+
165
+ .s2 {
166
+ color: #4281ff;
167
+ }
168
+
169
+ .s3 {
170
+ color: #ff4284;
171
+ }
172
+
173
+ .s4 {
174
+ color: #ffae00;
175
+ }
176
+
177
+ .s5 {
178
+ color: #ffffff;
179
+ }
180
+
181
+ .s6 {
182
+ color: #ffff00;
183
+ }
184
+ </style>
185
+ </center>
186
+ </body>
187
+
188
+ </html>
@@ -0,0 +1,167 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+
4
+ <head>
5
+ <meta charset="UTF-8">
6
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
7
+ <title>Prectical-12 python(4321602)</title>
8
+ </head>
9
+
10
+ <body style="background-image: url(menbackground.jpg);">
11
+ <center>
12
+ <div class="card">
13
+ <div class="titlebar" style="background-image: url(menbackground.jpg);">
14
+ <center>
15
+ <h3 style="color:white;">Prectical-12 </h3>
16
+ <p style="font-size: 17px; color: white;"> [12]_Create a package named DemoPackage which contains two modules named mathematics and greets. The mathematics module contains sum, average, power functions, and the greets module contains the sayHello function.</p>
17
+ </center>
18
+ <span class="buttons">
19
+ <button class="minimize" onclick="alert('Only For Window ')">
20
+ <svg x="0px" y="0px" viewBox="0 0 10.2 1"><rect x="0" y="50%" width="10.2" height="1"></rect></svg>
21
+ </button>
22
+ <button class="maximize" onclick="alert('Only For Window ')">
23
+ <svg viewBox="0 0 10 10"><path d="M0,0v10h10V0H0z M9,9H1V1h8V9z"></path></svg>
24
+ </button>
25
+ <a href="https://diplomaitmorbi.netlify.app/sem-2/python"> <button class="close">
26
+ <svg viewBox="0 0 10 10"><polygon points="10.2,0.7 9.5,0 5.1,4.4 0.7,0 0,0.7 4.4,5.1 0,9.5 0.7,10.2 5.1,5.8 9.5,10.2 10.2,9.5 5.8,5.1"></polygon></svg>
27
+ </button></a>
28
+ </span>
29
+ </div>
30
+ <div class="cppcode">
31
+
32
+
33
+
34
+
35
+
36
+
37
+
38
+ <p style="color:white;">
39
+ <img src="pre12.png" height="500px" width="300px">
40
+ <br>
41
+ <br>
42
+ <img src="pre12-2.png" height="500px" width="300px">
43
+ <br>
44
+ <br>
45
+ <img src="pre12-3.png" height="200px" width="300px">
46
+ </p>
47
+
48
+
49
+
50
+
51
+
52
+ </code>
53
+ </pre>
54
+ </div>
55
+ </div>
56
+ <style>
57
+ body {
58
+ scrollbar-width: thin;
59
+ /* "auto" or "thin" */
60
+ scrollbar-color: rgb(41, 41, 103) rgba(163, 59, 137, 0.587);
61
+ /* scroll thumb and track */
62
+ }
63
+
64
+ .card {
65
+ width: 350px;
66
+ height: 600px;
67
+ background: #15001f;
68
+ border: 1px solid #c042ff;
69
+ font-size: 14px;
70
+ font-family: monospace;
71
+ overflow: auto;
72
+ }
73
+
74
+ .titlebar {
75
+ font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
76
+ font-size: 21px;
77
+ font-weight: 450;
78
+ background-color: #2e0043;
79
+ width: 100%;
80
+ text-align: right;
81
+ }
82
+
83
+ .card button {
84
+ width: 40px;
85
+ height: 35px;
86
+ margin-left: -5px;
87
+ border: 0;
88
+ outline: 0;
89
+ background: transparent;
90
+ transition: 0.2s;
91
+ }
92
+
93
+ button svg path,
94
+ button svg rect,
95
+ button svg polygon {
96
+ fill: #ffffff;
97
+ }
98
+
99
+ button svg {
100
+ width: 10px;
101
+ height: 10px;
102
+ }
103
+
104
+ .close:hover {
105
+ background-color: #e81123;
106
+ }
107
+
108
+ .maximize:hover {
109
+ background-color: #c042ff2e;
110
+ }
111
+
112
+ .minimize:hover {
113
+ background-color: #c042ff2e;
114
+ }
115
+
116
+ #pre {
117
+ overflow: auto;
118
+ width: 100%;
119
+ padding: 10px;
120
+ height: auto;
121
+ color: #bafff8;
122
+ }
123
+
124
+ .curlies {
125
+ color: #ff0000;
126
+ }
127
+
128
+ .sc {
129
+ color: #e600ff;
130
+ }
131
+
132
+ .rounds {
133
+ color: #ffffff;
134
+ }
135
+
136
+ .operator {
137
+ color: #ffff00;
138
+ }
139
+
140
+ .s1 {
141
+ color: #22ff00;
142
+ }
143
+
144
+ .s2 {
145
+ color: #4281ff;
146
+ }
147
+
148
+ .s3 {
149
+ color: #ff4284;
150
+ }
151
+
152
+ .s4 {
153
+ color: #ffae00;
154
+ }
155
+
156
+ .s5 {
157
+ color: #ffffff;
158
+ }
159
+
160
+ .s6 {
161
+ color: #ffff00;
162
+ }
163
+ </style>
164
+ </center>
165
+ </body>
166
+
167
+ </html>