Created
January 13, 2021 10:02
-
-
Save iamtalhaasghar/8064ea8075a5f476227d983b14c6e100 to your computer and use it in GitHub Desktop.
A simple program to calculate actual withdraw amount of payoneer after deduction of 2% charges from USD to YOUR_NATIVE_CURRENCY
This file contains 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
# A simple program to calculate actual withdraw amount of payoneer | |
payoneerCut = 2 | |
rate = int(input('Enter currency rate of USD -> YOUR_NATIVE_CURRENCY : ')) | |
amount = int(input('Enter amount to withdraw (in YOUR_NATIVE_CURRENCY): ')) | |
rate = (rate - ((payoneerCut / 100) * (rate))) | |
print('New Rate of USD -> YOUR_NATIVE_CURRENCY : %.2f' % (rate)) | |
print("You`ll recieve: %.2f (in YOUR_NATIVE_CURRENCY)" % (rate * amount)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment