100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
WGU D522 WITH 50 QUESTIONS & CORRECT ANSWERS $18.99   Add to cart

Exam (elaborations)

WGU D522 WITH 50 QUESTIONS & CORRECT ANSWERS

 1 view  0 purchase
  • Course
  • WGU D522
  • Institution
  • WGU D522

WGU D522 WITH 50 QUESTIONS & CORRECT ANSWERS / WGU D522 WITH 50 QUESTIONS & CORRECT ANSWERS

Preview 2 out of 6  pages

  • November 16, 2024
  • 6
  • 2024/2025
  • Exam (elaborations)
  • Questions & answers
  • WGU D522
  • WGU D522
avatar-seller
NurseSue
WGU D522 WITH 50 QUESTIONS & CORRECT
ANSWERS



title() - ANSWER-capitalizes first letter of each word


islower() - ANSWER-determines if the string consists of lowercase characters


count() - ANSWER-totals number of times an argument is found within a
predefined value


myNumbers = [1, 4.8, 7, 9.2, 3, 0] - ANSWER-creates a list


mylist[0] - ANSWER-accesses first element from a list


mylist[-1] - ANSWER-accesses last element from a list


mylist[1:3] - ANSWER-slices list including second and third element


mylist[:3] - ANSWER-slices list beginning with first element and including
through the third element. Index position 3 is not included in selection.


mylist[3:] - ANSWER-slices list beginning with fourth element and include
remainder of the list


sorted(listname, reverse=True) - ANSWER-returns copy of list ordered largest to
smallest

, append() - ANSWER-adds new value to end of list


pop() - ANSWER-removes last item from a list


pop(1) - ANSWER-removes second item from a list


join() - ANSWER-joins values from a list using a defined separator


open('/my_path/my_file.txt','r') - ANSWER-opens a file object for reading


open('/my_path/my_file.txt','w') - ANSWER-opens a file object for writing


read() - ANSWER-reads data from open file


close() - ANSWER-closes open file


write() - ANSWER-writes to open file


with open('/my_path/my_file.txt','r') as f: - ANSWER-opens a file, performs
operations and automatically closes file


r - ANSWER-read


w - ANSWER-write

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying these notes from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller NurseSue. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for $18.99. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

75632 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 14 years now

Start selling
$18.99
  • (0)
  Add to cart