Skip to content

Q1 (String indexing): Write a string index that return just the letter 'r' from the 'hello world' for example, 'Hello world'[0] returns 'H'. You should write only one line of code to do this. Do not assign a variable name to the string. Q2 (String slicing) Use string slicing to grab the string 'ink' from inside 'tinker' You should write only one…

Notifications You must be signed in to change notification settings

Ankush0102/Python-Data-structure-assignment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 

About

Q1 (String indexing): Write a string index that return just the letter 'r' from the 'hello world' for example, 'Hello world'[0] returns 'H'. You should write only one line of code to do this. Do not assign a variable name to the string. Q2 (String slicing) Use string slicing to grab the string 'ink' from inside 'tinker' You should write only one…

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages