What's Your Name?

  • + 0 comments

    def print_full_name(first, last): k="Hello firstname lastname! You just delved into python." k=k.split(" ") for i in range(len(k)): if k[i]=="firstname": k[i]=first elif k[i]=="lastname!": k[i]=last+ "!" j=" ".join(k) print(j)

    if name == 'main':