|
| 1 | +{ |
| 2 | + "cells": [ |
| 3 | + { |
| 4 | + "cell_type": "code", |
| 5 | + "execution_count": 1, |
| 6 | + "id": "0cd8846c", |
| 7 | + "metadata": {}, |
| 8 | + "outputs": [ |
| 9 | + { |
| 10 | + "name": "stdout", |
| 11 | + "output_type": "stream", |
| 12 | + "text": [ |
| 13 | + "i love my mother\n" |
| 14 | + ] |
| 15 | + } |
| 16 | + ], |
| 17 | + "source": [ |
| 18 | + "a = \"i love my mother\"\n", |
| 19 | + "print(a)" |
| 20 | + ] |
| 21 | + }, |
| 22 | + { |
| 23 | + "cell_type": "code", |
| 24 | + "execution_count": 2, |
| 25 | + "id": "896a8f37", |
| 26 | + "metadata": {}, |
| 27 | + "outputs": [ |
| 28 | + { |
| 29 | + "name": "stdout", |
| 30 | + "output_type": "stream", |
| 31 | + "text": [ |
| 32 | + "i love my father\n" |
| 33 | + ] |
| 34 | + } |
| 35 | + ], |
| 36 | + "source": [ |
| 37 | + "a = \"i love my father\"\n", |
| 38 | + "print(a)" |
| 39 | + ] |
| 40 | + }, |
| 41 | + { |
| 42 | + "cell_type": "code", |
| 43 | + "execution_count": 8, |
| 44 | + "id": "b1d620fc", |
| 45 | + "metadata": {}, |
| 46 | + "outputs": [ |
| 47 | + { |
| 48 | + "name": "stdout", |
| 49 | + "output_type": "stream", |
| 50 | + "text": [ |
| 51 | + " Hello Bhanu ,would you like to play circket today\n" |
| 52 | + ] |
| 53 | + } |
| 54 | + ], |
| 55 | + "source": [ |
| 56 | + "b = \" Hello Bhanu \"\n", |
| 57 | + "c = \",would you like to play circket today\"\n", |
| 58 | + "print(b+c)" |
| 59 | + ] |
| 60 | + }, |
| 61 | + { |
| 62 | + "cell_type": "code", |
| 63 | + "execution_count": 9, |
| 64 | + "id": "bc3ec5e6", |
| 65 | + "metadata": {}, |
| 66 | + "outputs": [ |
| 67 | + { |
| 68 | + "name": "stdout", |
| 69 | + "output_type": "stream", |
| 70 | + "text": [ |
| 71 | + "Once a loard krishna said:WHATEVER HAPPENED, HAPPENED FOR THE GOOD. WHATEVER IS HAPPENNG,IS HAPPENING FOR THE GOOD WHATHEVER WILL HAPPEN,WIIL ALSO HAPPEN FOR THE GOOD.\n" |
| 72 | + ] |
| 73 | + } |
| 74 | + ], |
| 75 | + "source": [ |
| 76 | + "# bhanu prakash daivajna& 22/10/2022\n", |
| 77 | + "# this program print the sentence which is written in \"print command\"\n", |
| 78 | + "\n", |
| 79 | + "print(\"Once a loard krishna said:\" \n", |
| 80 | + " \"WHATEVER HAPPENED,\"\n", |
| 81 | + " \" HAPPENED FOR THE GOOD.\"\n", |
| 82 | + " \" WHATEVER IS HAPPENNG,IS\"\n", |
| 83 | + " \" HAPPENING FOR THE GOOD\"\n", |
| 84 | + " \" WHATHEVER WILL HAPPEN,WIIL\"\n", |
| 85 | + " \" ALSO HAPPEN FOR THE GOOD.\")" |
| 86 | + ] |
| 87 | + }, |
| 88 | + { |
| 89 | + "cell_type": "code", |
| 90 | + "execution_count": 10, |
| 91 | + "id": "14ae5340", |
| 92 | + "metadata": {}, |
| 93 | + "outputs": [ |
| 94 | + { |
| 95 | + "name": "stdout", |
| 96 | + "output_type": "stream", |
| 97 | + "text": [ |
| 98 | + "Once a loard krishna said:WHATEVER HAPPENED, HAPPENED FOR THE GOOD WHATEVER IS HAPPENNG,IS HAPPENING FOR THE GOOD. WHATHEVER WILL HAPPEN,WIIL ALSO HAPPEN FOR THE GOOD.\n" |
| 99 | + ] |
| 100 | + } |
| 101 | + ], |
| 102 | + "source": [ |
| 103 | + "famous_person= \"lord krishna\"\n", |
| 104 | + "message =(\"Once a loard krishna said:\" \n", |
| 105 | + " \"WHATEVER HAPPENED,\"\n", |
| 106 | + " \" HAPPENED FOR THE GOOD\"\n", |
| 107 | + " \" WHATEVER IS HAPPENNG,IS\"\n", |
| 108 | + " \" HAPPENING FOR THE GOOD.\"\n", |
| 109 | + " \" WHATHEVER WILL HAPPEN,WIIL\"\n", |
| 110 | + " \" ALSO HAPPEN FOR THE GOOD.\")\n", |
| 111 | + "print(message)" |
| 112 | + ] |
| 113 | + }, |
| 114 | + { |
| 115 | + "cell_type": "code", |
| 116 | + "execution_count": 11, |
| 117 | + "id": "e045bb73", |
| 118 | + "metadata": {}, |
| 119 | + "outputs": [ |
| 120 | + { |
| 121 | + "name": "stdout", |
| 122 | + "output_type": "stream", |
| 123 | + "text": [ |
| 124 | + "8\n", |
| 125 | + "8\n", |
| 126 | + "8\n", |
| 127 | + "8\n" |
| 128 | + ] |
| 129 | + } |
| 130 | + ], |
| 131 | + "source": [ |
| 132 | + "# bhanu prakash daivajna & 22/10/2022\n", |
| 133 | + "# this program print addition,substraction,multiplication,divion of given value in \"print comand\"\n", |
| 134 | + "print(4+4)\n", |
| 135 | + "print(4*2)\n", |
| 136 | + "print(12-4)\n", |
| 137 | + "print(int(96/12))" |
| 138 | + ] |
| 139 | + }, |
| 140 | + { |
| 141 | + "cell_type": "code", |
| 142 | + "execution_count": 12, |
| 143 | + "id": "3a2de721", |
| 144 | + "metadata": {}, |
| 145 | + "outputs": [ |
| 146 | + { |
| 147 | + "name": "stdout", |
| 148 | + "output_type": "stream", |
| 149 | + "text": [ |
| 150 | + "my birth date is 7\n" |
| 151 | + ] |
| 152 | + } |
| 153 | + ], |
| 154 | + "source": [ |
| 155 | + "x = 7\n", |
| 156 | + "print(\"my birth date is \",x)" |
| 157 | + ] |
| 158 | + }, |
| 159 | + { |
| 160 | + "cell_type": "code", |
| 161 | + "execution_count": 13, |
| 162 | + "id": "3789e750", |
| 163 | + "metadata": {}, |
| 164 | + "outputs": [ |
| 165 | + { |
| 166 | + "name": "stdout", |
| 167 | + "output_type": "stream", |
| 168 | + "text": [ |
| 169 | + "['bhanu', 'vignan', 'chandu', 'rajendra', 'yugi', 'nari']\n" |
| 170 | + ] |
| 171 | + } |
| 172 | + ], |
| 173 | + "source": [ |
| 174 | + "name = [\"bhanu\",\"vignan\",\"chandu\",\"rajendra\",\"yugi\",\"nari\"]\n", |
| 175 | + "print(name)" |
| 176 | + ] |
| 177 | + }, |
| 178 | + { |
| 179 | + "cell_type": "code", |
| 180 | + "execution_count": 16, |
| 181 | + "id": "5e4afc85", |
| 182 | + "metadata": {}, |
| 183 | + "outputs": [ |
| 184 | + { |
| 185 | + "name": "stdout", |
| 186 | + "output_type": "stream", |
| 187 | + "text": [ |
| 188 | + "bhanu\n" |
| 189 | + ] |
| 190 | + } |
| 191 | + ], |
| 192 | + "source": [ |
| 193 | + "print(\"bhanu\")" |
| 194 | + ] |
| 195 | + }, |
| 196 | + { |
| 197 | + "cell_type": "code", |
| 198 | + "execution_count": 17, |
| 199 | + "id": "e8dc2a7c", |
| 200 | + "metadata": {}, |
| 201 | + "outputs": [ |
| 202 | + { |
| 203 | + "name": "stdout", |
| 204 | + "output_type": "stream", |
| 205 | + "text": [ |
| 206 | + "vignan\n" |
| 207 | + ] |
| 208 | + } |
| 209 | + ], |
| 210 | + "source": [ |
| 211 | + "print(\"vignan\")" |
| 212 | + ] |
| 213 | + }, |
| 214 | + { |
| 215 | + "cell_type": "code", |
| 216 | + "execution_count": 18, |
| 217 | + "id": "99bd8773", |
| 218 | + "metadata": {}, |
| 219 | + "outputs": [ |
| 220 | + { |
| 221 | + "name": "stdout", |
| 222 | + "output_type": "stream", |
| 223 | + "text": [ |
| 224 | + "chandu\n" |
| 225 | + ] |
| 226 | + } |
| 227 | + ], |
| 228 | + "source": [ |
| 229 | + "print(\"chandu\")" |
| 230 | + ] |
| 231 | + }, |
| 232 | + { |
| 233 | + "cell_type": "code", |
| 234 | + "execution_count": 19, |
| 235 | + "id": "7ae45cf2", |
| 236 | + "metadata": {}, |
| 237 | + "outputs": [ |
| 238 | + { |
| 239 | + "name": "stdout", |
| 240 | + "output_type": "stream", |
| 241 | + "text": [ |
| 242 | + "rajendra\n" |
| 243 | + ] |
| 244 | + } |
| 245 | + ], |
| 246 | + "source": [ |
| 247 | + "print(\"rajendra\")" |
| 248 | + ] |
| 249 | + }, |
| 250 | + { |
| 251 | + "cell_type": "code", |
| 252 | + "execution_count": 23, |
| 253 | + "id": "a9051bda", |
| 254 | + "metadata": {}, |
| 255 | + "outputs": [ |
| 256 | + { |
| 257 | + "name": "stdout", |
| 258 | + "output_type": "stream", |
| 259 | + "text": [ |
| 260 | + "yugi,nari\n" |
| 261 | + ] |
| 262 | + } |
| 263 | + ], |
| 264 | + "source": [ |
| 265 | + "print(\"yugi,nari\")" |
| 266 | + ] |
| 267 | + }, |
| 268 | + { |
| 269 | + "cell_type": "code", |
| 270 | + "execution_count": 24, |
| 271 | + "id": "e4d2d1d9", |
| 272 | + "metadata": {}, |
| 273 | + "outputs": [ |
| 274 | + { |
| 275 | + "name": "stdout", |
| 276 | + "output_type": "stream", |
| 277 | + "text": [ |
| 278 | + "hello bhanu,how are you?\n", |
| 279 | + "hello vignan,how are you?\n", |
| 280 | + "hello chandu,how are you?\n", |
| 281 | + "hello rajendra,how are you?\n", |
| 282 | + "hello yugi,nari,how are you?\n" |
| 283 | + ] |
| 284 | + } |
| 285 | + ], |
| 286 | + "source": [ |
| 287 | + "print(\"hello bhanu,how are you?\")\n", |
| 288 | + "print(\"hello vignan,how are you?\")\n", |
| 289 | + "print(\"hello chandu,how are you?\")\n", |
| 290 | + "print(\"hello rajendra,how are you?\")\n", |
| 291 | + "print(\"hello yugi,nari,how are you?\")" |
| 292 | + ] |
| 293 | + }, |
| 294 | + { |
| 295 | + "cell_type": "code", |
| 296 | + "execution_count": 25, |
| 297 | + "id": "ff89fc0f", |
| 298 | + "metadata": {}, |
| 299 | + "outputs": [ |
| 300 | + { |
| 301 | + "name": "stdout", |
| 302 | + "output_type": "stream", |
| 303 | + "text": [ |
| 304 | + "['Bus', 'Car', 'Motorcycle', 'airoplane', 'cycle']\n" |
| 305 | + ] |
| 306 | + } |
| 307 | + ], |
| 308 | + "source": [ |
| 309 | + "transportation_mode = [\"Bus\",\"Car\",\"Motorcycle\",\"airoplane\",\"cycle\"]\n", |
| 310 | + "print(transportation_mode)" |
| 311 | + ] |
| 312 | + }, |
| 313 | + { |
| 314 | + "cell_type": "code", |
| 315 | + "execution_count": 26, |
| 316 | + "id": "c3db7ce6", |
| 317 | + "metadata": {}, |
| 318 | + "outputs": [ |
| 319 | + { |
| 320 | + "name": "stdout", |
| 321 | + "output_type": "stream", |
| 322 | + "text": [ |
| 323 | + "i would like to travel in Bus for a very long distance.\n", |
| 324 | + "i would like to own a BWM car.\n", |
| 325 | + "i would like to drive motorcycle.\n", |
| 326 | + "i would like the facilities of airindia rather then the other cpmpany.\n", |
| 327 | + "i would like to cycling in the morning.\n" |
| 328 | + ] |
| 329 | + } |
| 330 | + ], |
| 331 | + "source": [ |
| 332 | + "print(\"i would like to travel in Bus for a very long distance.\")\n", |
| 333 | + "print(\"i would like to own a BWM car.\")\n", |
| 334 | + "print(\"i would like to drive motorcycle.\")\n", |
| 335 | + "print(\"i would like the facilities of airindia rather then the other cpmpany.\")\n", |
| 336 | + "print(\"i would like to cycling in the morning.\")" |
| 337 | + ] |
| 338 | + }, |
| 339 | + { |
| 340 | + "cell_type": "code", |
| 341 | + "execution_count": null, |
| 342 | + "id": "84ddc4c5", |
| 343 | + "metadata": {}, |
| 344 | + "outputs": [], |
| 345 | + "source": [] |
| 346 | + } |
| 347 | + ], |
| 348 | + "metadata": { |
| 349 | + "kernelspec": { |
| 350 | + "display_name": "Python 3 (ipykernel)", |
| 351 | + "language": "python", |
| 352 | + "name": "python3" |
| 353 | + }, |
| 354 | + "language_info": { |
| 355 | + "codemirror_mode": { |
| 356 | + "name": "ipython", |
| 357 | + "version": 3 |
| 358 | + }, |
| 359 | + "file_extension": ".py", |
| 360 | + "mimetype": "text/x-python", |
| 361 | + "name": "python", |
| 362 | + "nbconvert_exporter": "python", |
| 363 | + "pygments_lexer": "ipython3", |
| 364 | + "version": "3.9.12" |
| 365 | + } |
| 366 | + }, |
| 367 | + "nbformat": 4, |
| 368 | + "nbformat_minor": 5 |
| 369 | +} |
0 commit comments