Question

Given a String variable address, write a String expression consisting of the string "http://" concatenated with...

Given a String variable address, write a String expression consisting of the string "http://" concatenated with the variable's String value. So, if the variable refers to "www.turingscraft.com", the value of the expression would be "http://www.turingscraft.com".

In python please

1 0
Add a comment Improve this question Transcribed image text
Answer #1


address = "http://" + address

CODE:

address = "www.turingscraft.com"
address = "http://" + address
print(address)


http://www.turingscraft.com 

Process finished with exit code o

Add a comment
Know the answer?
Add Answer to:
Given a String variable address, write a String expression consisting of the string "http://" concatenated with...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT