# -*- coding: utf-8 -*-
"""
Created on Mon Sep 21 07:54:19 2020

@author: cis-user
"""
# --------第一題-----------------------------
# string='I love you'

# s1=string[:1]
# s2=string[2:6]
# s3=string[7:]
# string=s1+" "+s2+" "+s3

# print(string)

#----------第二題----------------------------------------------
# string='I love you'
# s1=string[::-1]

# print(s1)
#--------第三題------------------------------------------

# string='I love you'
# s=' so'
# s1=s*100
# m='much'
# string=string+s+s1+m
# print(string)
#----------第四題-------------------------------------------

# string='I love you'
# import random as r
# r=r.randint(1,100)
# s='so'
# x=s*r
# m='much'
# print(string,x,m)
