I have been working on a project and one part of it is to have it personalised to the user. To achieve this I ask for the users name and phone. However, I want to make sure that the question has been answered and not skipped with pressing enter.
name = input("nPlease enter your name: ")
phone = input("Please enter the phone that you have: ")
I have tried lots of different ways such as my using while true and if etc.
Thanks for any help in advance Bhupinder
