Here is a simple example
amount1 = input(\"Insert your value: \")
amount2 = input(\"Insert your value: \")
print \"Your first value is\", amount1, \"your sec
Use string formatting:
s = "Your first value is {} your second value is {}".format(amount1, amount2)
This will automatically handle the data type conversion, so there is no need for str()
.
Consult the Python docs for detailed information:
https://docs.python.org/3.6/library/string.html#formatstrings