db5d887b61064a009ee1f313f1f.../main.py
2025-06-11 11:49:52 +00:00

23 lines
534 B
Python

def main():
# Declare and assign variables of different types
user_name = "Alice"
age = 25
is_student = True
score = 95.5
# Create a dictionary to hold the variables
response = {
"Name": user_name,
"Age": age,
"Is Student": is_student,
"Score": score
}
# Return the response
return response
if __name__ == "__main__":
result = main()
# Print the response for demonstration
for key, value in result.items():
print(f"{key}: {value}")