python - How would I make what the user typed for else into a variable/input? -
else=(x = raw_input("enter\n")): print(x)
i have tried doing basing off of correct statement...
x = raw_input("enter\n") print(x)
if doing if statement , wanted input after else ran run normal in if/else flow.
depending on trying have better way it. not sure skill level highly recommend jessica mckellers basic tutorials on youtube or basic python tutorial tigerhawk recommended.
if something: print("hello") else: x = raw_input("enter ") print(x)
Comments
Post a Comment