print "In play: Opalescence, Doubling Season.\n" doublingseasons=1 print "Kickered Rite of Replication on Doubling Season, respond with Twincast.\n" print "Twincast #1 resolves. 5 tokens would enter play. Doubling Season changes this to 10 tokens.\n" print "11 Doubling Seasons now in play.\n" doublingseasons=11 print "Twincast #2 resolves. 5 tokens would enter play.\n" incoming=5 for i in range(doublingseasons): count = i+1 incoming = incoming*2 print "Doubling Season #" + str(count) + " doubles the incoming token count to " + str(incoming) + "\n" print str(incoming+doublingseasons) + " Doubling Seasons now in play.\n" print "Rite of replication resolves. 5 tokens would enter play.\n" doublingseasons=incoming+doublingseasons incoming=5 for i in range(doublingseasons): count = i+1 incoming = incoming*2 if i<30: print "Doubling Season #" + str(count) + " doubles the incoming token count to " + str(incoming)+ "\n" print "and finally, after doubling " + str(doublingseasons-30) + " more times... \n " print str(incoming+doublingseasons) + " Doubling Seasons now in play.\n"
Run
Reset
Share
Import
Link
Embed
Language▼
English
中文
Python Fiddle
Python Cloud IDE
Follow @python_fiddle
Browser Version Not Supported
Due to Python Fiddle's reliance on advanced JavaScript techniques, older browsers might have problems running it correctly. Please download the latest version of your favourite browser.
Chrome 10+
Firefox 4+
Safari 5+
IE 10+
Let me try anyway!
url:
Go
Python Snippet
Stackoverflow Question