On Thursday, October 26, 2017 at 7:41:10 PM UTC-7, boB Stepp wrote:
> On Thu, Oct 26, 2017 at 9:25 PM, wrote:
> > If s1 = "Welcome students", what is the output when you print the following:
> >
> > 1. s4 = 3 * s1
> >
> > 2. s1[3 : 6]
> >
> > 3. 'W' in s1
> >
> > 4. S1[-1]
> >
> > 5. S1[:-1]
> >
If s1 = "Welcome students", what is the output when you print the following:
1. s4 = 3 * s1
2. s1[3 : 6]
3. 'W' in s1
4. S1[-1]
5. S1[:-1]
Any help would be great, thanks!
--
https://mail.python.org/mailman/listinfo/python-list