17 lines
372 B
Python
17 lines
372 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 |