11 lines
361 B
Python
11 lines
361 B
Python
# Q5
|
|
|
|
# Get values from user
|
|
first_name = input("Enter first name: ")
|
|
last_name = input("Enter surname: ")
|
|
id_number = int(input("Enter ID Number: "))
|
|
mat_average = float(input("Enter matriculation exams average: "))
|
|
|
|
# Print values and types
|
|
for variable in [first_name, last_name, id_number, mat_average]:
|
|
print(f"{variable} - {type(variable)}") |