i've been having trouble figuring this out since im new to python and i really wanna figure it out!
Write a Sentinel controlled While loop that allows the user to enter text until they enter ! by itself.
Output would be like this:
Enter some text: Hi
Enter some text: ThisIsFun
Enter some text: Bye Now
Enter some text: !
HiThisIsFunBye Now!
Heres what i have to far.
user = 0
total = 0
text =str(input("Enter some text "))
while total != 1:
total = text + 1
print(total)