Mar-17-2019, 08:09 PM
You use string methods on a string, not the str type.
while input("Hit Enter or type \"stop.\" ").lower() != "stop":Since input returns a string, you can put it to the right of the input call, and it will apply to the return value of input.
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures