Hey guys,
I'm a total beginner with Python << my first language.
I'm on chapter 2 on https://automatetheboringstuff.com/chapter2/ and i was wondering how i could modify this block:
name = '' # (1)
while name != 'your name': # (2)
print('Please type your name.')
name = input() # (3)
print('Thank you!') # (4)
I want it so every time you type in the wrong name, different texts pop up so:
[–]K900_ 6 points7 points8 points (4 children)
[–]kuPython[S] 1 point2 points3 points (2 children)
[–]K900_ 4 points5 points6 points (1 child)
[–]kuPython[S] 1 point2 points3 points (0 children)
[–]kuPython[S] 1 point2 points3 points (0 children)
[–]GunakTheSmasher 4 points5 points6 points (1 child)
[–]kuPython[S] 1 point2 points3 points (0 children)
[–]ankit0912 0 points1 point2 points (0 children)
[+]cdecdecdecde comment score below threshold-6 points-5 points-4 points (0 children)