Restrictions - Do not import any modules other than math and check. .docx

  • No School
  • AA 1
  • 3

This preview shows page 1 - 3 out of 3 pages.

Image of page 1

Subscribe to view the full document.

Restrictions: - Do not import any modules other than math and check. - You are always allowed to define your own helper functions, as long as they meet the assignment restrictions. Do not use Python constructs from later modules (e.g. loops, map, filter or lists), string methods that consume or return a list or the command zip. Use only the functions and methods as follows: abs len max and min Any method or constant in the math module Type casting including int ), str (), float(), bool () Any basic arithmetic operation (including +, -, *, /, /, %, **) String slicing and indexing as well as string operations using the operators above String methods: capitalize, count, endswith, find, index, isalnum, isalpha, isdecimal, islower, isnumeric, isspace, istitle, isupper, lower 1strip, replace, rfind, rindex, rsplit, rstrip, startswith, strip, swapcase, title, upper, zfill The relationship in for strings. Functions are case sensitive by default unless otherwise stated input and print as well as the formatting parameter end and method format. Note that all prompts must match exactly
Image of page 2
Image of page 3
  • Fall '19

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern

Ask Expert Tutors You can ask 0 bonus questions You can ask 0 questions (0 expire soon) You can ask 0 questions (will expire )
Answers in as fast as 15 minutes