DC Posted July 7, 2018 Report Share Posted July 7, 2018 With the new mining addon, I thought it would be cool to code something that calculated how much you would get for selling your minerals, so I did; if you have python downloaded, you can download the file at the bottom of the guide or use this code: print("[CG MINING]") print("***********\n") bronze=int(input("Enter the amount of bronze you have mined: ")) silver=int(input("Enter the amount of silver you have mined: ")) gold=int(input("Enter the amount of gold you have mined: ")) plat=int(input("Enter the amount of platinum you have mined: ")) bronzetot=bronze*500 silvertot=silver*800 goldtot=gold*1800 plattot=plat*8000 total=bronzetot+silvertot+goldtot+plattot print("\nIf you sold your minerals, you would earn: £"+str(total)) If not, then each mineral price per 1 is: Bronze: £500 Silver: £800 Gold: £1,800 Platinum: £8000 >You can use these prices and calculate it manually, Hope this helps! ~DC CG mining profits.py Oaky and Lucifer™ 2 Link to comment
_RzVibration Posted July 7, 2018 Report Share Posted July 7, 2018 well this is just a a bit complicated when you can just use a calculator DC 1 Link to comment
jtwepiczombie Posted July 7, 2018 Report Share Posted July 7, 2018 I'm clever as well i have python on my computer DippyEgg = input("Do you like dippy egg") If DippyEgg == "Yes": Print("Good Good") Elif dippy egg == "No": Print("Your a balsamic cunt") Gizio, Miller Dawson2005, MotiPuikko and 5 others 1 6 1 Link to comment
The Caretaker Posted July 7, 2018 Report Share Posted July 7, 2018 hey look, a NERD Miller Dawson2005 and aza10119 1 1 Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now