Uncategorized

Concatenating python strings, integers, and floats as input – Python



as a newbie, i am building an app that computes user bio data.
i want to set the strings and integers as input then concatenate what ever the user inputs, but I am having bugs in my code.
can anyone help out?

here is the code below!!

def out_put():
yourName = input
surName = input

computeYourBioData = yourName + surName
return computeYourBioData

print(“Welcome To The book”)
print(“What’s your name? “)
yourName = input(“please enter your name: “)
print(“What’s your Surname? “)
surName = input(“please enter your Surname: “)

computeYourBioData = out_put()
print(computeYourBioData,“welcome”)

I need more clarification on concatenation



Source link

Leave a Reply

Your email address will not be published. Required fields are marked *