import os password = ['admin'] def login(): a = input("Enter Password: ") print(a) for a in password: main() def main(): print('Unnamed ALpha 1.0') print('Welcome Back') print(' ') print('Developed | Sam Hostler') print(' ') print("1.)New Game") a = input("...") print(a) if a == 1: newgame() else: print('error') def newgame(): os.system('cls') hp = "10" hpm = '10' print('Welcome to the game as of for now, this game is still in alpha and doesnt have a complete version') print(' ') print('Stats: HP:' + hp + '/' + hpm)
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