Jump to content

where is the problem with this game?


Go to solution Solved by Python player,

Recommended Posts

hello gays and guys :)

yeah Im player on python lets say Im beginner 

I take acource and the cource tell me to do some thing like game Pay @@

I make it but the game doesn't success  when i write any thing they turned to the second if(the else)

also the  Conditions true but when I write any thing make the Conditions success 

but every time i git empty(when i test the a program

empty the second if or the same but...)

so where is my problem?

	 
	print 'Welcome to the Pig Latin Translator!'
	original = raw_input("Enter word:")
original = ("")
if len(original) > 0 and original.isalpha() == True :
    print original
else:
    print ("empty")
	
Link to comment
Share on other sites

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.