a = input('Hello: ') if a == 'world': global b b = input('Here') print b #Prints the input for be as a result