Module(body=[Assign(targets=[Name(id='s',
                                  ctx=Store())],
                    value=Str(s='abcdabab')),
             Print(dest=None,
                   values=[Call(func=Attribute(value=Name(id='s',
                                                          ctx=Load()),
                                               attr='find',
                                               ctx=Load()),
                                args=[Str(s='ab')],
                                keywords=[],
                                starargs=None,
                                kwargs=None)],
                   nl=True),
             Print(dest=None,
                   values=[Call(func=Attribute(value=Name(id='s',
                                                          ctx=Load()),
                                               attr='find',
                                               ctx=Load()),
                                args=[Str(s='ab'),
                                      Num(n=5)],
                                keywords=[],
                                starargs=None,
                                kwargs=None)],
                   nl=True),
             Print(dest=None,
                   values=[Call(func=Attribute(value=Name(id='s',
                                                          ctx=Load()),
                                               attr='index',
                                               ctx=Load()),
                                args=[Str(s='ab')],
                                keywords=[],
                                starargs=None,
                                kwargs=None)],
                   nl=True),
             Print(dest=None,
                   values=[Call(func=Attribute(value=Name(id='s',
                                                          ctx=Load()),
                                               attr='index',
                                               ctx=Load()),
                                args=[Str(s='ab'),
                                      Num(n=5)],
                                keywords=[],
                                starargs=None,
                                kwargs=None)],
                   nl=True),
             Print(dest=None,
                   values=[Call(func=Attribute(value=Name(id='s',
                                                          ctx=Load()),
                                               attr='find',
                                               ctx=Load()),
                                args=[Str(s='ac')],
                                keywords=[],
                                starargs=None,
                                kwargs=None)],
                   nl=True),
             Print(dest=None,
                   values=[Call(func=Attribute(value=Name(id='s',
                                                          ctx=Load()),
                                               attr='find',
                                               ctx=Load()),
                                args=[Str(s='ac'),
                                      Num(n=5)],
                                keywords=[],
                                starargs=None,
                                kwargs=None)],
                   nl=True),
             Print(dest=None,
                   values=[Call(func=Attribute(value=Name(id='s',
                                                          ctx=Load()),
                                               attr='rfind',
                                               ctx=Load()),
                                args=[Str(s='cd')],
                                keywords=[],
                                starargs=None,
                                kwargs=None)],
                   nl=True),
             Print(dest=None,
                   values=[Call(func=Attribute(value=Name(id='s',
                                                          ctx=Load()),
                                               attr='rfind',
                                               ctx=Load()),
                                args=[Str(s='cd'),
                                      Num(n=5)],
                                keywords=[],
                                starargs=None,
                                kwargs=None)],
                   nl=True),
             Print(dest=None,
                   values=[Call(func=Attribute(value=Name(id='s',
                                                          ctx=Load()),
                                               attr='rindex',
                                               ctx=Load()),
                                args=[Str(s='ab')],
                                keywords=[],
                                starargs=None,
                                kwargs=None)],
                   nl=True),
             Print(dest=None,
                   values=[Call(func=Attribute(value=Name(id='s',
                                                          ctx=Load()),
                                               attr='rindex',
                                               ctx=Load()),
                                args=[Str(s='ab'),
                                      Num(n=5)],
                                keywords=[],
                                starargs=None,
                                kwargs=None)],
                   nl=True),
             Print(dest=None,
                   values=[Call(func=Attribute(value=Name(id='s',
                                                          ctx=Load()),
                                               attr='rfind',
                                               ctx=Load()),
                                args=[Str(s='ac')],
                                keywords=[],
                                starargs=None,
                                kwargs=None)],
                   nl=True),
             Print(dest=None,
                   values=[Call(func=Attribute(value=Name(id='s',
                                                          ctx=Load()),
                                               attr='rfind',
                                               ctx=Load()),
                                args=[Str(s='ac'),
                                      Num(n=5)],
                                keywords=[],
                                starargs=None,
                                kwargs=None)],
                   nl=True),
             Print(dest=None,
                   values=[Call(func=Attribute(value=Name(id='s',
                                                          ctx=Load()),
                                               attr='rindex',
                                               ctx=Load()),
                                args=[Str(s='ac'),
                                      Num(n=5)],
                                keywords=[],
                                starargs=None,
                                kwargs=None)],
                   nl=True)])
