You need to generate a profile for a student which includes her name, age, and city of origin. Your task is to fill the blanks in the code so that when it is executed, it outputs Name: Alice, Age: 20, City: Sydney line.
Naming variables
Creating a profile for a student in Python
Report a typo
Fill in the gaps with the relevant elements
= "Alice"
= 20
= "Sydney"
student_profile = "Name: " + student_name + ", Age: " + str(student_age) + ", City: " + city_of_origin
print(student_profile)Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.