diff options
Diffstat (limited to 'python/output/2')
-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 |
6 files changed, 105 insertions, 0 deletions
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 +****** +* * +* * +* * +* * +****** +``` |