Coding Python : The Ultimate Tool To Progress Your Python Programming From Good To Great While Making Coding In Scratch Look Easy (Python programming language) by Scratch Michael & Erik

Coding Python : The Ultimate Tool To Progress Your Python Programming From Good To Great While Making Coding In Scratch Look Easy (Python programming language) by Scratch Michael & Erik

Author:Scratch, Michael & Erik [Scratch, Michael and Erik]
Language: eng
Format: epub, pdf
Published: 2020-12-11T16:00:00+00:00


***Use Your Discretion Here And Write Your Code First***

Now, check your code against the correct code below:

A = [“ red”, “olive”, “cyan”, “lilac”, “mustard”]

print (A [-2])

OUTPUT – [“lilac”]

Exercise – Create a list “A” with string data values as “red, olive, cyan, lilac, mustard” and display the items ranging from the string on the second position to the end of the string.

***Use Your Discretion Here And Write Your Code First***

Now, check your code against the correct code below:

A = [“red”, “olive”, “cyan”, “lilac”, “mustard”]

print (A [2 : ])

OUTPUT – [ “cyan”, “lilac”, “mustard”]

Exercise – Create a list “A” with string data values as “red, olive, cyan, lilac, mustard” and replace the string “olive” with “teal.”



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.