GOAL: This project aims to you to learn basic stuffs about Python with 11 questions.
- Version
- Recommended python version is 3.7.
- You can check the version of python with
python -Vcommand.
- Norm that no one likes
- Ok. here, you can see that the NORM that made all of us painful before is back.
- It is recommended to follow the
PEP 8 standards. - Check is your code with
pycodestyle.
- function
evalis never allowed. - The exercies are ordered from the easiest to the hardest, please keep the order.
- Best manual or the colleague is Google(or chatGPT, whatever
<;). - You can ask questions in 42AI/42born2code's
#bootcampschannel. - Any mistakes or issues? Please report 'em in 42AI's Github Channel Issue.
- The project encourage you to create test programs just like old-push-swap. This means you will not be graded with the test program exists or not.
| link | ex00 |
|---|
The first thing you need to do is install Python.
| Required File |
|---|
answer.txt, requirements.txt |
| link | ex01 |
|---|
| Required File |
|---|
exec.py |
Make a program that takes a string. Reverse and swap it's letter case and print them.
| link | ex02 |
|---|
| Required File |
|---|
whois.py |
Make a program that takes only a number. Print wheter the number is odd, even, zero, or somethign wrong.
| link | ex03 |
|---|
| Required File |
|---|
count.py |
You must make a function text_analyzer that will takes a single string.
This will print some informations about sums of upper-case charaters, lower-case characters, punctuation characters and spaces.
In the previous part, you wrote a function that can be used in console/or another file. Without changing this behavior, update your file so it can also be launched as a standalone program.
| link | ex04 |
|---|
| Required File |
|---|
operations.py |
Write a program that takes two integers A and B as arguments and prints the result of the following operation:
Sum: A+B
Difference: A-B
Product: A*B
Quotient: A/B
Remainder: A%B| link | ex05 |
|---|
Let’s get familiar with the useful concept of string formatting through a kata series
|keta00.py|
|keta01.py|
|keta02.py|
|keta03.py|
|keta04.py|