0

Create a string variable that is initialized to your entire name??

Im a little lost

Thanks Kim:)

3

1 Answer 1

3

You want to create a string variable with my name? Sure, here it is:

  my_name = 'Samuel Robert Dolan'

If that's not what you want, please be more descriptive in your question. :)

Sign up to request clarification or add additional context in comments.

3 Comments

I understand creating a string but Im unsure of what it means to initialize? The actual question states create a string variable that is initialized to your entire name first, middle, and last.
The my_name declaration initializes a variable and assigns it my entire name "Samuel" (First) "Robert" (middle) and "Dolan" (last). That variable becomes of string type because of it's assigned to a string.
Python is strongly typed. It is also dynamically typed. Do not confuse the two

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.