name = "Jane Doe" city = "Riverside" state = "California" Hint, when slicing strings we specify the start index, end ind

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

name = "Jane Doe" city = "Riverside" state = "California" Hint, when slicing strings we specify the start index, end ind

Post by answerhappygod »

name = "Jane Doe"
city = "Riverside"
state = "California"
Hint, when slicing strings we specify the start index, endindex, and the stride.
Group of answer choices
name [0:4]
[ Choose] 'Jane' Doe Jane D 'Ja' 'Riversideal' River Jan Riverside Cali 'ive' Error side rnia
name[:2]
[ Choose] 'Jane' Doe Jane D 'Ja' 'Riversideal' River Jan Riverside Cali 'ive' Error side rnia
city [1:4]
[ Choose] 'Jane' Doe Jane D 'Ja' 'Riversideal' River Jan Riverside Cali 'ive' Error side rnia
city+state[1:3]
[ Choose] 'Jane' Doe Jane D 'Ja' 'Riversideal' River Jan Riverside Cali 'ive' Error side rnia
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply