Westonci.ca is the premier destination for reliable answers to your questions, provided by a community of experts. Get detailed and precise answers to your questions from a dedicated community of experts on our Q&A platform. Our platform provides a seamless experience for finding reliable answers from a network of experienced professionals.

Task 2
Rearrange the lines in the Python program below, so that you have a runnable program
that holds a meaningful interaction with the user.
1 print("And where do you live", name)
2 print ("I've never been to", location)
3 name = input()
4 print("What is your name?")
5 location = input()
Write your rearranged program below:


Sagot :

4.
3.
1.
5.
2.
I rearranged them so the program would make sense by arranging the interaction in a logical order then placing input statements in between
4.
3.
1.
5.
2.
I arranged it in an orderly and most interactive manner including it with the Scanner input class
We appreciate your time. Please come back anytime for the latest information and answers to your questions. We hope you found this helpful. Feel free to come back anytime for more accurate answers and updated information. Thank you for using Westonci.ca. Come back for more in-depth answers to all your queries.