Discription:
Simulates the operation of a currency exchanger. The user is prompted:
- Select the currency he wants to exchange.
- Select the amount he wants to exchange.
- Select the currency for which he wants to exchange. After that, he is provided with a report on the operation. The updated data is entered into the database.
-
To start exchanger_software.py
- Type in command line:
python exchanger_software.py
and pressENTER
1 USD = 70 RUB
1 EUR = 80 RUB
1 USD = 0.87 EUR
1 EUR = 1.15 USD
- RUB: 10000
- USD: 980
- EUR: 1017
- Type in command line:
Disription:
Prompts the user to select one of the available options:
-
Registration - registration of a new user with entering data into the database.
-
Authorisation - authorization of a previously registered user.
-
Password recovery - password recovery by code.
- To start registration_authorization_recovery_password.py
- Type in command line
python registration_authorization_recovery_password.py
and pressENTER
. APP created database with test data:- Login: Ivan
- Password: qwer1234
- Recovery code: 1234
- After type in command line
python registration_authorization_recovery_password.py
and pressENTER
to test sofware.
- Type in command line
Discription:
This application simulates the operation of an ATM. The user enters the card number, pincode, if this user is in the database, then he is prompted to perform operations of his choice:
- Show balance information.
- Withdraw money.
- Deposit money.
- Finish work.
- Transfer money.
After successful completion of the transaction with cash flow on the account, the data is updated in the database and entered into the generated report in .csv format.
- To start atm.py
- #1 Type in command line:
cd sql_atm
and pressENTER
. - #2 Type in command line:
python atm.py
and pressENTER
.- card_1_number: 1234, pin_code: 1111, money: 10000
- card_2_number: 2345, pin_code: 2222, money: 10000
- #1 Type in command line:
Discription:
The user enters the billing period, and the application shows the balance on the user's account, if the user does not have enough funds, then the status of his Activity becomes No and the funds are no longer debited.
- To start mobile.py type in command line
cd mobile_operator
and pressENTER
.- #1 Type in command line:
python mobile.py
and pressENTER
.- Name: User1, Money: 10000, Tarrif: VIP (1000 per month), Activity: Yes.
- Name: User2, Money: 10000, Tarrif: Premium (1500 per month), Activity: Yes.
- Name: User3, Money: 10000, Tarrif: Standard (500 per month), Activity: Yes.
- #1 Type in command line:
Dicsription:
Simulates making one call to a randomly selected operator for 30 days, the duration of each call is randomly from 1 to 10 minutes. Writes off funds from the account after each call and shows the full balance. Generates a report in .csv format about calls made.
- To start mobile_month_cycle.py type in command line
cd mobile_debit
and pressENTER
.- #1 Type in command line:
python mobile_month_cycle.py
and pressENTER
.- Name: User, Money: 500.
- Operators:
- Mts_Mts rate: 1 rub.
- Mts_Tele2 rate: 2 rub.
- Mts_Yota rate: 3 rub.
- Operators:
- Name: User, Money: 500.
- #1 Type in command line: