This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import datetime | |
| class Exercise: | |
| def __init__(self, type, day, start_time, end_time): | |
| self.type = type | |
| self.day = day | |
| self.start_time = start_time | |
| self.end_time = end_time | |
| self.minutes = None # Initialized later in ExerciseTracker.calculate_minutes() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| namespace ExerciseTracker | |
| { | |
| public class Exercise | |
| { | |
| public string Type { get; set; } | |
| public int Day { get; set; } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // تعريف أسعار الصرف | |
| final exchangeRates = { | |
| "EUR": 0.84, | |
| "USD": 1.22, | |
| "JPY": 137.8, | |
| "TRY": 18.6 | |
| }; | |
| // تعريف دالة لتحويل العملات | |
| double convertCurrency(double amount, String currency) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <iostream> | |
| #include <map> | |
| using namespace std; | |
| // تعريف أسعار الصرف | |
| map<string, double> exchange_rates = { | |
| {"EUR", 0.84}, | |
| {"USD", 1.22}, | |
| {"JPY", 137.8}, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # تعريف أسعار الصرف | |
| exchange_rates = { | |
| "EUR": 0.84, | |
| "USD": 1.22, | |
| "JPY": 137.8, | |
| "TRY": 18.6 | |
| } | |
| # تعريف دالة لتحويل العملات | |
| def convert_currency(amount, currency): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta name="viewport" content="width=device-width"> | |
| <title>JS Bin</title> | |
| </head> | |
| <body> | |
| <script id="jsbin-javascript"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [{"id":4,"capital":"Kabul","citizenship":"Afghan","country_code":"004","currency":"afghani","currency_code":"AFN","currency_sub_unit":"pul","currency_symbol":"\u060b","full_name":"Islamic Republic of Afghanistan","iso_3166_2":"AF","iso_3166_3":"AFG","name":"Afghanistan","name_ar":"\u0623\u0641\u063a\u0627\u0646\u0633\u062a\u0627\u0646","region_code":"142","sub_region_code":"034","eea":0,"calling_code":"93","flag":"AF.png"},{"id":8,"capital":"Tirana","citizenship":"Albanian","country_code":"008","currency":"lek","currency_code":"ALL","currency_sub_unit":"(qindar (pl. qindarka))","currency_symbol":"Lek","full_name":"Republic of Albania","iso_3166_2":"AL","iso_3166_3":"ALB","name":"Albania","name_ar":"\u0623\u0644\u0628\u0627\u0646\u064a\u0627","region_code":"150","sub_region_code":"039","eea":0,"calling_code":"355","flag":"AL.png"},{"id":10,"capital":"Antartica","citizenship":"of Antartica","country_code":"010","currency":"","currency_code":"","currency_sub_unit":"","currency_symbol":"","full_name":"Antarctica" |