Concatenating Strings in Python
Go to solution
Solved by Blade of Grass,
You will use string concatenation all the time to build your output messages.
I've dug through some of the work I did awhile ago (and yay! VB6):
Msg = "There are" & SquareMeter & " square meters in" & Acres & " acres." Msg = "Your order total for" & SquareFootage & " square feet of flooring is " & Format$(Total, "currency") Msg = "The total commission on your sale of " & Format$(FinalPrice, "currency") & " is " & Format$(Cost, "currency") & "."String concatenation (the symbol VB6 uses is the &) is very useful, above are three different examples of it being used (it was from review work I had to do).

Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now