Nov-04-2019, 09:42 AM
Essentially, the user inputs random strings and i am trying to reprint the longest string that the user input (so far it only prints the first non-capital letter). A bit lost on how to fix this.
loopEnd = "" n = (input("Input: ")) longString = max(n) while n != loopEnd: n = str(input("Input: ")) if n == loopEnd: print("Longest input was", "'",longString,"'")