LPTHW - Exercise 11: Asking Questions?

This is an example I found on the internet, but how am I supposed to know how to create a completely different form when I new to this? I studied what was written below, and I still don’t understand it. But I did understand what was in the book.

  1. Write another “form” like this to ask some other questions.

A new form for the study drill

name = input("What is your name? >>> ")
print(f’Hey {name}, let’s be friends!’)

The different form you can create is likely to employ the same concepts as Zed’s example. You taking some input from the user at a prompt (that you can define).
Then using that input (stored in the variable you define) to print out, and calling the variable in the print statement with the f-string.

Therefore you can come up with anything you like to demonstrate these principles:

town = input("Where do you live? ")
print(f"I've never been to {town}. What's it like?")

When you get stuck, it’s sometimes better to carry on and come back to it. Some concepts are explored over 2-3 lessons.

What @gpkesley said is right. So, all you really need to do is ask another question. Try that, then see how far you can take your version of the script.ß