uaveiro-leci/1ano/1semestre/fp/aula00/welcome.py

12 lines
348 B
Python

# coding: utf-8
# Execute the program and see what happens.
# Then modify the program so that X is replaced by the course input.
# Hint: see what we did with the name and surname.
name = input("Primeiro nome? ")
surname = input("Apelido? ")
course = input("Curso? ")
print("Olá {} {}!\nBem vindo ao curso de {}!".format(name, surname, course))