{"id":21696151,"url":"https://github.com/farzadforuozanfar/os-lab-python-cource","last_synced_at":"2025-07-15T19:47:53.614Z","repository":{"id":151009743,"uuid":"463099739","full_name":"FarzadForuozanfar/OS-LAB-Python-Cource","owner":"FarzadForuozanfar","description":"Python Course with @SajjadAemmi","archived":false,"fork":false,"pushed_at":"2022-04-12T14:26:11.000Z","size":513,"stargazers_count":14,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-26T06:51:06.072Z","etag":null,"topics":["database","dbsqlite3","hangman-game","mathematics","pyside6-designer","python","python3","rock-paper-scissors","sqlite","tic-tac-toe"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/FarzadForuozanfar.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2022-02-24T10:13:17.000Z","updated_at":"2024-05-30T14:46:32.000Z","dependencies_parsed_at":"2023-08-12T09:10:51.912Z","dependency_job_id":null,"html_url":"https://github.com/FarzadForuozanfar/OS-LAB-Python-Cource","commit_stats":null,"previous_names":["farzadforuozanfar/os-lab-python-cource"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FarzadForuozanfar%2FOS-LAB-Python-Cource","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FarzadForuozanfar%2FOS-LAB-Python-Cource/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FarzadForuozanfar%2FOS-LAB-Python-Cource/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FarzadForuozanfar%2FOS-LAB-Python-Cource/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FarzadForuozanfar","download_url":"https://codeload.github.com/FarzadForuozanfar/OS-LAB-Python-Cource/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248565064,"owners_count":21125416,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["database","dbsqlite3","hangman-game","mathematics","pyside6-designer","python","python3","rock-paper-scissors","sqlite","tic-tac-toe"],"created_at":"2024-11-25T19:18:36.618Z","updated_at":"2025-04-12T12:06:55.976Z","avatar_url":"https://github.com/FarzadForuozanfar.png","language":"Python","readme":"# Assignment 1 :\n```Several operating system applications``` :\n####\n ```arch``` : Indicates whether the system is 32-bit or 64-bit\n ```uptime``` : Indicates the current running time of the system and the average system load and the number of users logged into the system\n```free``` : Indicates the amount of memory consumed by the system\n```Pwd``` : Prints the name of the current work path in its entirety, abbreviated as Print Working Directory\n```exit``` : The command is to exit and close the terminal\n\n### Solotion 2:\n#### \nCalculate the circumference and area of a circle .\n\n### Solution 3 :\n#### \nGeometry donor theorem .\n\n### Solution 4 :\n####\nCalculate BMI a Person .\n# Assignment 2 :\n### ```Calculator :```\n- [x] Add two numbers together (Press Num1) +\n- [x] Subtract two numbers from each other (Press Num2) -\n- [x] Multiply two numbers together (Press Num3) x\n- [x] Divided two number (Press Num4) /\n- [x] Sinus of an angle (press Num5) Sin\n- [x] Cosinus of an angle (Press Num6) Cos\n- [x] Tangent of an angle (Press Num7) Tan\n- [x] Cotangent of an angle (Press Num8) Cot\n- [x] Logarithm a number (Press Num9) log\n- [x] Exit and close programm (Press Num10) \n\n### Palam,Polom,Plish   Game✋🎮🤚\n- [x] Play With Two Cpu\n- [x] On Hand ✋ (Press Num1)\n- [x] Back Hand 🤚 (Press Num2)\n- [x] Play in 5 stages and announce the winner 🏆\n\n###  Rock✊,Paper✋,Scissors🤞,🎮Game🎮\n- [x] Play With CPU\n- [x] Rock✊ (Press Num1)\n- [x] Paper✋ (Press Num2)\n- [x] Scissors ✌️ (Press Num3)\n- [x] Play in 5 stages and announce the winner 🏆\n\n### Seconds to Time :\n#### \nConvert seconds to time format (ex. 3661 sec == 1:01:01)\n\n### Time To Second :\n#### \nConvert time to second format (ex. 1:01:01 sec == 3661)\n# Assignment 3 :\n### \n```KMM \u0026 BMM:```\nFind the largest common divisor and the smallest common multiple between two integers\n\n### ```HangMan :```\n####\n![330px-Hangman svg](https://user-images.githubusercontent.com/91725214/155573188-aec5989c-ad0a-4753-b643-2e9d61f8e029.png)\nThe word to guess is represented by a row of dashes, representing each letter of the word. Rules may permit or forbid proper nouns, such as names, places, brands, or slang. If the guessing player suggests a letter which occurs in the word, the other player writes it in all its correct positions. If the suggested letter does not occur in the word, the other player draws one element of a hanged stick figure as a tally mark.\n### Is Armstrong Number :\n#### \nThe Armstrong number is called a number. If we multiply each of its numbers by the power of the number of numbers, it becomes equal to the number itself.\n#### Example :\n#### \nConsider the number 153\n153 is a three-digit number, so we multiply each of its numbers by the power of three and add it together:\n153 = 1 * 1 * 1 + 5 * 5 * 5 + 3 * 3 * 3\nThe number 153 is an Armstrong number.\n\n### Is Factorial :\n#### \nChecks if it is a factorial number and returns a Boolean variable in response\nExample :\nConsider the number 120 = 1 * 2 * 3 * 4 * 5 = 5!\n\n### Word Sentence :\n#### \nCounts the number of words in a sentence\n### Random Array:\n####\nMakes a random array with the size that the user gives as input\n### Sort Array:\n####\nChecks that the presentation received as input from the user is sorted descending\n# Assignment 4 :\n### Multiplication_table :\nCreate a multiplication table with the number of columns and rows desired by the user\n### chesstable :\nCreate a checkered page with the number of columns and rows desired by the user in the shape of a star and an hashtag # *\n### fibo :\nCreate a Fibonacci sequence to the user's liking using the repeat loop\n####\nRun in consol:\n####\n![image](https://user-images.githubusercontent.com/91725214/162984659-52db73ee-f68a-40ae-a411-8de84d8eae8e.png)\n\n# Assignment 5(Store) :\nBuild a store software based on the CSV database with limited features such as\n- [x] Adding new items to the store\n- [x] Edit items\n- [x] Delete items\n- [x] Show items list\n- [x] Search items\n- [x] Buy items\n- [x] Exit \n\nEach items have :\n- Id(bar-code)\n- Name\n- Price\n- Count\n\n# Assignment 6 (Translator):\nCreating a dictionary  by a words bank in which all data (words) are stored :\n- [x]  Persian to English\n- [x]  English to Persian\n\n# Assignmen 7 :\n### Khayam-Pascal:\n![400px-Pascal's_Triangle1](https://user-images.githubusercontent.com/91725214/158057027-498e2657-d24f-48a0-bdee-c173c667ecbf.jpg)\n####\n\u003ca href='https://en.wikipedia.org/wiki/Pascal%27s_triangle'\u003e www.Wikipedia.com \u003c/a\u003e\nPrint Khayyam Pascal triangle to the user's desired column\n### Symmetrical :\nCheck the symmetry of a Array numbers\n### Check the symmetry of a number :\nThe four basic mathematical operations on fractional numbers\n- [x] +\n- [x] -\n- [X] x\n- [x] /\n- [x] Exit\n### Wedding:\nWrite a plan for every boy and girl to marry by chance. Note that a boy can not marry two girls at the same time, and vice versa.\n\n# Assignment 8:\n### **Complex numbers :**\nComplex numbers that are displayed in the form **\"a + i b\"**. Where **a** and **b** are real numbers and **i** are an imaginary part and part a is a real part and part b is an imaginary part\n####\n![330px-Complex_number_illustration svg](https://user-images.githubusercontent.com/91725214/158363257-0f34eb99-22b1-4bc0-b73f-a9af34a1f4f1.png)\n####\n**```this program have main menu that work :```**\n- [x] sum two complex numbers\n- [x] mines two complex numbers\n- [x] multi two complex numbers\n- [x] exit\n### **Faraction :**\n![download](https://user-images.githubusercontent.com/91725214/158364567-589e24f5-8e53-4f13-b9c0-6f30ea5a4b09.png)\n####\n**```this program have main menu that work :```**\n- [x] sum two fraction numbers\n- [x] mines two fraction numbers\n- [x] multi two fraction numbers\n- [x] div ide two fraction numbers\n- [x] exit\n### **Time :**\n![download](https://user-images.githubusercontent.com/91725214/158364928-9e379a0e-53af-48f9-8449-cda8fe142f39.jpg)\n####\n**```this program have main menu that work :```**\n- [x] sum two time(E.X 12:20:10 + 5:30:40 = 17:50:50)\n- [x] mines two fraction numbers(E.X 12:20:10 - 5:10:10 = 7:10:00)\n- [x] time to second (E.X input : 3600 seconds ==\u003e output : 01:00:00)\n- [x] divide two fraction numbers (E.X input : 01:00:00 ==\u003e output : 3600 seconds)\n- [x] exit\n\n# Assignment 10 (SQL):\n### Problem description:\nCreate a database for Digikala with two tables :\n- 1- Enter the desired information into the table using the **INSERT** command.\n- 2- Show only available items using the **SELECT** command.\n- 3- Use the **DELETE** command to delete non-Iranian customers.\n- 4- Reduce the price of all items by 20% using the **UPDATE** command.\n\n\nPowerd by \u003ca href='https://sqlitebrowser.org/'\u003esqlitebrowser.org\u003c/a\u003e\n####\n# Certificate:\n\u003ca href='https://www.sololearn.com'\u003ewww.Sololearn.com\u003c/a\u003e\n![png](https://user-images.githubusercontent.com/91725214/158021136-8cfe0576-1326-4bd1-9437-90144023403a.png)\n![png](https://user-images.githubusercontent.com/91725214/158021148-b058526e-67bc-4adb-baa2-64b12a4a1beb.png)\n![png](https://user-images.githubusercontent.com/91725214/157819260-c03c5293-0a5d-4ce4-a967-c1821e041be6.png)\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffarzadforuozanfar%2Fos-lab-python-cource","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffarzadforuozanfar%2Fos-lab-python-cource","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffarzadforuozanfar%2Fos-lab-python-cource/lists"}