Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- print("DemoCoin!")
- print("The People Decide The Worth!")
- demoCoin = 0.01 #this is how much the crypto is worth in real currency
- wallet = 0 #this is how much crypto you have
- import time #this is very useful throughout this process
- while (True): #a basic loop
- time.sleep(60) #every minute
- wallet + 1 #you get a DemoCoin
- if wallet + 100: #everytime someone gets 100
- demoCoin + 0.01 #it's worth increases by a pence
- advertisement = input("Do you want an advertisement on this program?") #you can put ads on here
- if advertisement == "Yes" or "yes": #yes
- wallet - 100000 #you lose 100000 demoCoin
- advertisement_confirm = input("Enter your advertisement here.") #this is creating the ad
- print(advertisement_confirm) #and here's it displayed
- if advertisement == "No" or "no": #no
- print("That's fine.") #and we move on
- if else: #if you say anything else
- print("Sorry, no.") #then no
- if demoCoin < 0: #if you have minus money
- print("You ran out of crypto (lol)") #you go bankrupt
- if else: #if you still have money
- print("You have" +demoCoin) #you keep going
- end_program = input("Do you want to log off and get your money?") #log off or stay on?
- if end_program == "Yes" or "yes": #yes
- value = wallet * demoCoin #value of your crypto
- print("You now have £"+value) #how much money you now have
- if end_program == "No" or "no": #no
- while (True): #continues on crypto mining
- time.sleep(60)
- wallet + 1
- if wallet + 100:
- demoCoin + 0.01
- if else: #if anything else is said
- while (True): #it assumes you want to keep on mining
- time.sleep(60)
- wallet + 1
- if wallet + 100:
- demoCoin + 0.01
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement