Skip to content

Commit f5b1967

Browse files
committed
added folders and READMEs for blank problem sets
1 parent 535ab4a commit f5b1967

File tree

16 files changed

+81
-47
lines changed

16 files changed

+81
-47
lines changed

README.md

+11-10
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,17 @@ Problem sets are arranged by topic and are linked below. Each problem set lists
77
**The basics**
88
1. [Printing](problem_sets/print)
99
2. [Strings](problem_sets/strings)
10-
3. Math operations
11-
4. Collecting user input
12-
5. Lists
13-
6. Tuples
14-
7. Dictionaries
15-
8. Functions
16-
9. Conditional logic
17-
10. Exception handling and errors
18-
11. File I/O
19-
12. Object-oriented programming (OOP)
10+
3. [Math operations](problem_sets/math)
11+
4. [Collecting user input](problem_sets/user_input)
12+
5. [Lists](problem_sets/lists)
13+
6. [Tuples](problem_sets/tuples)
14+
7. [Dictionaries](problem_sets/dictionaries)
15+
8. [Sets](problem_sets/sets)
16+
9. [Functions](problem_sets/functions)
17+
10. [Conditional logic](problem_sets/logic)
18+
11. [Exception handling and errors](problem_sets/exception_handling)
19+
12. [File I/O](problem_sets/file_io)
20+
13. [Object-oriented programming (OOP)](problem_sets/oop)
2021

2122
**Advanced topics**
2223
1. Decorators

problem_sets/dictionaries/README.md

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Dictionaries
2+
3+
These exercises do not need to be completed in order, but they are generally ordered in increasing difficulty. The solutions provided _are not the only possible_ solution. Your's might look different, and that is okay!
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Exception handling
2+
3+
These exercises do not need to be completed in order, but they are generally ordered in increasing difficulty. The solutions provided _are not the only possible_ solution. Your's might look different, and that is okay!

problem_sets/file_io/README.md

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# File I/O
2+
3+
These exercises do not need to be completed in order, but they are generally ordered in increasing difficulty. The solutions provided _are not the only possible_ solution. Your's might look different, and that is okay!

problem_sets/functions/README.md

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Functions
2+
3+
These exercises do not need to be completed in order, but they are generally ordered in increasing difficulty. The solutions provided _are not the only possible_ solution. Your's might look different, and that is okay!

problem_sets/lists.md

-3
This file was deleted.

problem_sets/lists/README.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Lists
2+
3+
These exercises do not need to be completed in order, but they are generally ordered in increasing difficulty. The solutions provided _are not the only possible_ solution. Your's might look different, and that is okay!
4+
5+
1. Write a Python program to display the first and last colors from the following list (from [w3resource](https://www.w3resource.com/python-exercises/python-basic-exercises.php)).

problem_sets/logic/README.md

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Conditional logic
2+
3+
These exercises do not need to be completed in order, but they are generally ordered in increasing difficulty. The solutions provided _are not the only possible_ solution. Your's might look different, and that is okay!

problem_sets/math.md

-5
This file was deleted.

problem_sets/math/README.md

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Math operations
2+
3+
These exercises do not need to be completed in order, but they are generally ordered in increasing difficulty. The solutions provided _are not the only possible_ solution. Your's might look different, and that is okay!
4+
5+
1. Write a Python program that accepts an integer (n) and computes the value of n+nn+nnn (from [w3resource](https://www.w3resource.com/python-exercises/python-basic-exercises.php)).
6+
7+
2. Write a Python program to get the volume of a sphere with radius 6 (from [w3resource](https://www.w3resource.com/python-exercises/python-basic-exercises.php)).

problem_sets/oop/README.md

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Object-oriented programming (OOP)
2+
3+
These exercises do not need to be completed in order, but they are generally ordered in increasing difficulty. The solutions provided _are not the only possible_ solution. Your's might look different, and that is okay!

problem_sets/sets/README.md

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Sets
2+
3+
These exercises do not need to be completed in order, but they are generally ordered in increasing difficulty. The solutions provided _are not the only possible_ solution. Your's might look different, and that is okay!

problem_sets/strings.md

-29
This file was deleted.

problem_sets/strings/README.md

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# Strings and string methods
2+
3+
These exercises do not need to be completed in order, but they are generally ordered in increasing difficulty. The solutions provided _are not the only possible_ solution. Your's might look different, and that is okay!
4+
5+
1. Write a Python program to calculate the length of a string (from [w3resource](https://www.w3resource.com/python-exercises/string/)).
6+
7+
2. Write a Python script that takes input from the user and displays that input back in upper and lower cases (from [w3resource](https://www.w3resource.com/python-exercises/string/)).
8+
9+
3. Make a program that takes a string and outputs that string with the first letter of each word capitalized.
10+
11+
4. Given an input string, write a program that identifies the index of the first instance of a character within that string.
12+
13+
5. Given an input string, find the three most common characters within that string and the number of times they are contained.
14+
15+
6. Write a program to split a given string on hyphens and display each substring (from [PYnative](https://pynative.com/python-string-exercise/)).
16+
17+
7. Write a program to create a new string made of an input string’s first, middle, and last character (from [PYnative](https://pynative.com/python-string-exercise/)).
18+
19+
8. Write a Python program to change a given string to a new string where the first and last chars have been exchanged (from [w3resource](https://www.w3resource.com/python-exercises/string/)).
20+
21+
9. Write a Python program to get a single string from two given strings, separated by a space (from [w3resource](https://www.w3resource.com/python-exercises/string/)).
22+
23+
10. Write a Python program to add 'ing' at the end of a given string (length should be at least 3). If the given string already ends with 'ing' then add 'ly' instead. If the string length of the given string is less than 3, leave it unchanged (from [w3resource](https://www.w3resource.com/python-exercises/string/)).
24+
25+
11. Write a Python program to remove the nth index character from a nonempty string (from [w3resource](https://www.w3resource.com/python-exercises/string/)).
26+
27+
12. Write a Python program to get the last part of a string before a specified character (from [w3resource](https://www.w3resource.com/python-exercises/string/)).
28+
29+
13. Write a Python program to add a prefix text to all of the lines in a string (from [w3resource](https://www.w3resource.com/python-exercises/string/)).
30+
31+
14. Write a Python program to accept a filename from the user and print the extension of that (from [w3resource](https://www.w3resource.com/python-exercises/python-basic-exercises.php)).

problem_sets/tuples/README.md

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Tuples
2+
3+
These exercises do not need to be completed in order, but they are generally ordered in increasing difficulty. The solutions provided _are not the only possible_ solution. Your's might look different, and that is okay!

problem_sets/user_input/README.md

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Collecting user input
2+
3+
These exercises do not need to be completed in order, but they are generally ordered in increasing difficulty. The solutions provided _are not the only possible_ solution. Your's might look different, and that is okay!

0 commit comments

Comments
 (0)