We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3c76dec commit 28bf422Copy full SHA for 28bf422
1 file changed
main.py
@@ -1,35 +1 @@
1
-x=int(input("Amount to Convert :"))
2
-y=input("Convert currency to :")
3
-print(str(x) + " Converting to " + y)
4
-input(" continue ?")
5
-# rate
6
-#USD
7
-d=135
8
-#EUR
9
-e=145
10
-#DH
11
-h=13.5
12
-#SR
13
-s=35
14
-#EGP
15
-g=5
16
-#TND
17
-t=40
18
-#TRY
19
-r=5
20
-if y == "USD":
21
- print(round (x/d))
22
-elif y == "EUR":
23
- print(round (x/e))
24
-elif y== "SR":
25
- print(round (x/s))
26
-elif y== "EGP":
27
- print(round (x/g))
28
-elif y== "TND":
29
- print(round (x/t))
30
-elif y== "TRY" :
31
- print(round (x/r))
32
-elif y== "DH":
33
- print(round (x/h))
34
-print("thank you for using <3")
35
-print("created by : Mehdi ")
+
0 commit comments