diff options
Diffstat (limited to 'python/output')
-rw-r--r-- | python/output/1/6.txt | 7 | ||||
-rw-r--r-- | python/output/2/1.txt | 12 | ||||
-rw-r--r-- | python/output/2/2.txt | 4 | ||||
-rw-r--r-- | python/output/2/4.txt | 24 | ||||
-rw-r--r-- | python/output/2/5.txt | 34 | ||||
-rw-r--r-- | python/output/2/6.txt | 7 | ||||
-rw-r--r-- | python/output/2/7.txt | 24 | ||||
-rw-r--r-- | python/output/3/3.txt | 9 | ||||
-rw-r--r-- | python/output/3/5.txt | 4 | ||||
-rw-r--r-- | python/output/3/6.txt | 12 | ||||
-rw-r--r-- | python/output/3/7.txt | 9 |
11 files changed, 146 insertions, 0 deletions
diff --git a/python/output/1/6.txt b/python/output/1/6.txt new file mode 100644 index 0000000..b238b5f --- /dev/null +++ b/python/output/1/6.txt @@ -0,0 +1,7 @@ +``` +Enter first number: 12.345 +Enter second number: 678.9999 +Concatenation of integer parts: 12678 +Sum rounded to 2 decimal places: 691.34 +``` + diff --git a/python/output/2/1.txt b/python/output/2/1.txt new file mode 100644 index 0000000..81480d1 --- /dev/null +++ b/python/output/2/1.txt @@ -0,0 +1,12 @@ +``` +1 + 6 +2 + 5 +3 + 4 +Result: 21 +1 + 9 +2 + 8 +3 + 7 +4 + 6 +5 +Result: 45 +``` \ No newline at end of file diff --git a/python/output/2/2.txt b/python/output/2/2.txt new file mode 100644 index 0000000..4c06a26 --- /dev/null +++ b/python/output/2/2.txt @@ -0,0 +1,4 @@ +``` +Enter a list of numbers: 1 42 73 23 13 15 17 9 65 48 37 11 4 +List of primes: [73, 23, 13, 17, 37, 11] +``` diff --git a/python/output/2/4.txt b/python/output/2/4.txt new file mode 100644 index 0000000..8188169 --- /dev/null +++ b/python/output/2/4.txt @@ -0,0 +1,24 @@ +``` +Welcome to number guessing game +Try to guess the secret random number between 1 to 10 correctly in 3 tries +Enter a guess: 10 +Wrong guess! Try again. +Enter a guess: 8 +Wrong guess! Try again. +Enter a guess: 3 +Wrong guess! Game over! +Secret value was 5 +Do you want to try playing again (y/n, default n): y +Enjoy your next play + +Welcome to number guessing game +Try to guess the secret random number between 1 to 10 correctly in 3 tries +Enter a guess: 8 +Wrong guess! Try again. +Enter a guess: 3 +Wrong guess! Try again. +Enter a guess: 4 +Correct guess in 3 tries! +Do you want to try playing again (y/n, default n): +Thanks for playing. Bye! +``` diff --git a/python/output/2/5.txt b/python/output/2/5.txt new file mode 100644 index 0000000..35b538d --- /dev/null +++ b/python/output/2/5.txt @@ -0,0 +1,34 @@ +``` +Enter the starting day (1 for Sunday, 2 for Monday, ..., 7 for Saturday): 1 +Enter the number of days in the month: 30 +Calender for this month: + SUN MON TUE WED THU FRI SAT + 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 +``` +``` +Enter the starting day (1 for Sunday, 2 for Monday, ..., 7 for Saturday): 2 +Enter the number of days in the month: 28 +Calender for this month: + SUN MON TUE WED THU FRI SAT + 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 +``` +``` +Enter the starting day (1 for Sunday, 2 for Monday, ..., 7 for Saturday): 7 +Enter the number of days in the month: 31 +Calender for this month: + SUN MON TUE WED THU FRI SAT + 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 +``` diff --git a/python/output/2/6.txt b/python/output/2/6.txt new file mode 100644 index 0000000..32f6729 --- /dev/null +++ b/python/output/2/6.txt @@ -0,0 +1,7 @@ +``` +Enter a string: Hello World ABCDE 123456 +Number of + Uppercase characters: 7 + Lowercase characters: 8 + Digits: 6 +``` \ No newline at end of file diff --git a/python/output/2/7.txt b/python/output/2/7.txt new file mode 100644 index 0000000..abb9c92 --- /dev/null +++ b/python/output/2/7.txt @@ -0,0 +1,24 @@ +``` +Enter pattern size: 4 +**** +* * +* * +**** +``` +``` +Enter pattern size: 5 +***** +* * +* * +* * +***** +``` +``` +Enter pattern size: 6 +****** +* * +* * +* * +* * +****** +``` diff --git a/python/output/3/3.txt b/python/output/3/3.txt new file mode 100644 index 0000000..e2163f7 --- /dev/null +++ b/python/output/3/3.txt @@ -0,0 +1,9 @@ +``` +Enter your full name: Sudipto Mallick +Your name in reverse: Mallick, Sudipto +``` +``` +Enter your full name: Ayush Kumar Shukla +Your name in reverse: Shukla, Ayush +``` + diff --git a/python/output/3/5.txt b/python/output/3/5.txt new file mode 100644 index 0000000..11fdc1d --- /dev/null +++ b/python/output/3/5.txt @@ -0,0 +1,4 @@ +``` +Enter a line of text: The trend towards remote work has accelerated in recent years, with many companies adopting a hybrid or fully remote model. It offers employees more flexibility and can lead to increased productivity and job satisfaction. +Given text with all vowels removed: Th trnd twrds rmt wrk hs cclrtd n rcnt yrs, wth mny cmpns dptng hybrd r flly rmt mdl. t ffrs mplys mr flxblty nd cn ld t ncrsd prdctvty nd jb stsfctn. +``` diff --git a/python/output/3/6.txt b/python/output/3/6.txt new file mode 100644 index 0000000..ba5b336 --- /dev/null +++ b/python/output/3/6.txt @@ -0,0 +1,12 @@ +``` +Enter message: A quick brown fox jumps over a lazy dog. +Enter key (1-25, -1 - -25): 5 +Ceesar cipher with k = 5 applied to the given message: +F vznhp gwtbs ktc ozrux tajw f qfed itl. +``` +``` +Enter message: F vznhp gwtbs ktc ozrux tajw f qfed itl. +Enter key (1-25, -1 - -25): -5 +Ceesar cipher with k = 21 applied to the given message: +A quick brown fox jumps over a lazy dog. +``` diff --git a/python/output/3/7.txt b/python/output/3/7.txt new file mode 100644 index 0000000..23b872f --- /dev/null +++ b/python/output/3/7.txt @@ -0,0 +1,9 @@ +``` +Enter an E-mail address: user@example.net +Username: user +Domain: example.net +``` +``` +Enter an E-mail address: abcdefghi +abcdefghi is not a valid E-mail address +``` |