i am trying to write the basic code of a random name generator in python, this will soon become a fully working web app with an easy to use GUI but for some reason the program doesn't work. When i run at it asks for console or game when i put game it still carries on with the "IF" route instead of "else"
import string
#This is a Name Generato
print("Welcome To the first version of my name generator at the moment there is only 20 names but in the final version there will be 200 names with over 25 different tags")
print("First of all what do you need a Console or a game Name?")
console = input()
if (console):
print("is it a,PS4,PS3,XBOX 360,XBOX ONE or PC")
print("NOTE:Wii,PSP and DS are not supported")
consolename = input()
print("The,",consolename)
print("Is good")
print ("now give me one or two key words that you would like in your name out of...")
print("happy,sad,depressed,fox,cow,cat,dog,wolf,lion,lil,lazy,forgetful,gaming,xxx,orthodox,apex,toXic")
firstname1=input()
secondname=input()
print(firstname1)
print(secondname)
print("Good Choice")
else:
print("What game is it?")
print("Minecraft,Black ops 1//2/3,COD,Halo1/2/3/4/5/CE/Reach,Terraria,World of warcraft,League Of Legends")
print("NOTE:Type the Game As you see it!")
game1 = input()
print("Ah good choice eh")
Aucun commentaire:
Enregistrer un commentaire