# FOR Mini Project — Form Wannabe
# for loop + input() + split() — one question at a time

# ─────────────────────────────────────────────
# The setup
# ─────────────────────────────────────────────

fields = "name age country".split()
# ['name', 'age', 'country'] — a sequence your loop can move through

# ─────────────────────────────────────────────
# Form Wannabe
# ─────────────────────────────────────────────

for field in fields:
    answer = input(f"Enter your {field}: ")
    print(f"{field.capitalize()}: {answer}")

print("Thanks for your data.")

# ─────────────────────────────────────────────
# Test it
# ─────────────────────────────────────────────

# Enter your name: Bull
# Name: Bull
# Enter your age: 25
# Age: 25
# Enter your country: Romania
# Country: Romania
# Thanks for your data.

# ─────────────────────────────────────────────
# Go further
# ─────────────────────────────────────────────

# Add more fields — "name age country city job".split()
# Change the final message based on the number of fields — use a counter
# Print each field with its position — use enumerate()

# ─────────────────────────────────────────────
# Quick reference
# ─────────────────────────────────────────────

# .split()      — separates string into individual words
# .capitalize() — first letter uppercase
# input()       — asks the user, returns a string
# for loop      — one field at a time, automatically
