Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/farzadforuozanfar/os-lab-python-cource
Python Course with @SajjadAemmi
https://github.com/farzadforuozanfar/os-lab-python-cource
database dbsqlite3 hangman-game mathematics pyside6-designer python python3 rock-paper-scissors sqlite tic-tac-toe
Last synced: about 1 month ago
JSON representation
Python Course with @SajjadAemmi
- Host: GitHub
- URL: https://github.com/farzadforuozanfar/os-lab-python-cource
- Owner: FarzadForuozanfar
- Created: 2022-02-24T10:13:17.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-04-12T14:26:11.000Z (over 2 years ago)
- Last Synced: 2024-05-11T05:49:26.672Z (8 months ago)
- Topics: database, dbsqlite3, hangman-game, mathematics, pyside6-designer, python, python3, rock-paper-scissors, sqlite, tic-tac-toe
- Language: Python
- Homepage:
- Size: 501 KB
- Stars: 13
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Assignment 1 :
```Several operating system applications``` :
####
```arch``` : Indicates whether the system is 32-bit or 64-bit
```uptime``` : Indicates the current running time of the system and the average system load and the number of users logged into the system
```free``` : Indicates the amount of memory consumed by the system
```Pwd``` : Prints the name of the current work path in its entirety, abbreviated as Print Working Directory
```exit``` : The command is to exit and close the terminal### Solotion 2:
####
Calculate the circumference and area of a circle .### Solution 3 :
####
Geometry donor theorem .### Solution 4 :
####
Calculate BMI a Person .
# Assignment 2 :
### ```Calculator :```
- [x] Add two numbers together (Press Num1) +
- [x] Subtract two numbers from each other (Press Num2) -
- [x] Multiply two numbers together (Press Num3) x
- [x] Divided two number (Press Num4) /
- [x] Sinus of an angle (press Num5) Sin
- [x] Cosinus of an angle (Press Num6) Cos
- [x] Tangent of an angle (Press Num7) Tan
- [x] Cotangent of an angle (Press Num8) Cot
- [x] Logarithm a number (Press Num9) log
- [x] Exit and close programm (Press Num10)### Palam,Polom,Plish Game✋🎮🤚
- [x] Play With Two Cpu
- [x] On Hand ✋ (Press Num1)
- [x] Back Hand 🤚 (Press Num2)
- [x] Play in 5 stages and announce the winner 🏆### Rock✊,Paper✋,Scissors🤞,🎮Game🎮
- [x] Play With CPU
- [x] Rock✊ (Press Num1)
- [x] Paper✋ (Press Num2)
- [x] Scissors ✌️ (Press Num3)
- [x] Play in 5 stages and announce the winner 🏆### Seconds to Time :
####
Convert seconds to time format (ex. 3661 sec == 1:01:01)### Time To Second :
####
Convert time to second format (ex. 1:01:01 sec == 3661)
# Assignment 3 :
###
```KMM & BMM:```
Find the largest common divisor and the smallest common multiple between two integers### ```HangMan :```
####
![330px-Hangman svg](https://user-images.githubusercontent.com/91725214/155573188-aec5989c-ad0a-4753-b643-2e9d61f8e029.png)
The 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.
### Is Armstrong Number :
####
The 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.
#### Example :
####
Consider the number 153
153 is a three-digit number, so we multiply each of its numbers by the power of three and add it together:
153 = 1 * 1 * 1 + 5 * 5 * 5 + 3 * 3 * 3
The number 153 is an Armstrong number.### Is Factorial :
####
Checks if it is a factorial number and returns a Boolean variable in response
Example :
Consider the number 120 = 1 * 2 * 3 * 4 * 5 = 5!### Word Sentence :
####
Counts the number of words in a sentence
### Random Array:
####
Makes a random array with the size that the user gives as input
### Sort Array:
####
Checks that the presentation received as input from the user is sorted descending
# Assignment 4 :
### Multiplication_table :
Create a multiplication table with the number of columns and rows desired by the user
### chesstable :
Create a checkered page with the number of columns and rows desired by the user in the shape of a star and an hashtag # *
### fibo :
Create a Fibonacci sequence to the user's liking using the repeat loop
####
Run in consol:
####
![image](https://user-images.githubusercontent.com/91725214/162984659-52db73ee-f68a-40ae-a411-8de84d8eae8e.png)# Assignment 5(Store) :
Build a store software based on the CSV database with limited features such as
- [x] Adding new items to the store
- [x] Edit items
- [x] Delete items
- [x] Show items list
- [x] Search items
- [x] Buy items
- [x] ExitEach items have :
- Id(bar-code)
- Name
- Price
- Count# Assignment 6 (Translator):
Creating a dictionary by a words bank in which all data (words) are stored :
- [x] Persian to English
- [x] English to Persian# Assignmen 7 :
### Khayam-Pascal:
![400px-Pascal's_Triangle1](https://user-images.githubusercontent.com/91725214/158057027-498e2657-d24f-48a0-bdee-c173c667ecbf.jpg)
####
www.Wikipedia.com
Print Khayyam Pascal triangle to the user's desired column
### Symmetrical :
Check the symmetry of a Array numbers
### Check the symmetry of a number :
The four basic mathematical operations on fractional numbers
- [x] +
- [x] -
- [X] x
- [x] /
- [x] Exit
### Wedding:
Write 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.# Assignment 8:
### **Complex numbers :**
Complex 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
####
![330px-Complex_number_illustration svg](https://user-images.githubusercontent.com/91725214/158363257-0f34eb99-22b1-4bc0-b73f-a9af34a1f4f1.png)
####
**```this program have main menu that work :```**
- [x] sum two complex numbers
- [x] mines two complex numbers
- [x] multi two complex numbers
- [x] exit
### **Faraction :**
![download](https://user-images.githubusercontent.com/91725214/158364567-589e24f5-8e53-4f13-b9c0-6f30ea5a4b09.png)
####
**```this program have main menu that work :```**
- [x] sum two fraction numbers
- [x] mines two fraction numbers
- [x] multi two fraction numbers
- [x] div ide two fraction numbers
- [x] exit
### **Time :**
![download](https://user-images.githubusercontent.com/91725214/158364928-9e379a0e-53af-48f9-8449-cda8fe142f39.jpg)
####
**```this program have main menu that work :```**
- [x] sum two time(E.X 12:20:10 + 5:30:40 = 17:50:50)
- [x] mines two fraction numbers(E.X 12:20:10 - 5:10:10 = 7:10:00)
- [x] time to second (E.X input : 3600 seconds ==> output : 01:00:00)
- [x] divide two fraction numbers (E.X input : 01:00:00 ==> output : 3600 seconds)
- [x] exit# Assignment 10 (SQL):
### Problem description:
Create a database for Digikala with two tables :
- 1- Enter the desired information into the table using the **INSERT** command.
- 2- Show only available items using the **SELECT** command.
- 3- Use the **DELETE** command to delete non-Iranian customers.
- 4- Reduce the price of all items by 20% using the **UPDATE** command.Powerd by sqlitebrowser.org
####
# Certificate:
www.Sololearn.com
![png](https://user-images.githubusercontent.com/91725214/158021136-8cfe0576-1326-4bd1-9437-90144023403a.png)
![png](https://user-images.githubusercontent.com/91725214/158021148-b058526e-67bc-4adb-baa2-64b12a4a1beb.png)
![png](https://user-images.githubusercontent.com/91725214/157819260-c03c5293-0a5d-4ce4-a967-c1821e041be6.png)