string = str(input("Your name:- ")).upper() print(string)
Here is what the above code is Doing:
1. It’s taking input from the user and storing it in a variable called string.
2. It’s converting the input to upper case.
3. It’s printing the input.