diff --git a/main.py b/main.py
index d73e192c7f8121d9f3450327a6612b3161170ede..648cd9c20c6e76922a380ed3b3322c903c031311 100644
--- a/main.py
+++ b/main.py
@@ -2,16 +2,18 @@ import requests
 
 json_placeholder_url = 'https://jsonplaceholder.typicode.com'
 
+
 def get_posts():
     posts = requests.get(json_placeholder_url + '/posts')
     return posts.json()[:5]
 
+
 def get_users():
     users = requests.get(json_placeholder_url + '/users')
     return users.json()[:5]
 
+
 def create_post(title, body):
-    posts = requests.get(json_placeholder_url + '/posts')
     new_post = {
         'title': title,
         'body': body,
@@ -19,6 +21,7 @@ def create_post(title, body):
     response = requests.post(json_placeholder_url + '/posts', json=new_post)
     return response.json()['id']
 
+
 def main():
     print("Souhaitez-vous:")
     print("1. Lister les 5 premiers posts")
@@ -34,11 +37,11 @@ def main():
             print("")
     elif choice == "2":
         users = get_users()
-        usersString = ""
+        users_string = ""
         for user in users:
-            usersString += user['name'] + ", "
+            users_string += user['name'] + ", "
         print("Liste des 5 premiers utilisateurs: ")
-        print(usersString[:-2])
+        print(users_string[:-2])
     elif choice == "3":
         title = input("Titre: ")
         body = input("Contenu: ")
@@ -47,5 +50,6 @@ def main():
     else:
         print("Choix invalide")
 
+
 if __name__ == "__main__":
-    main()
\ No newline at end of file
+    main()