Loading [MathJax]/jax/input/MathML/config.js
Skip to main content
Library homepage
 

Text Color

Text Size

 

Margin Size

 

Font Type

Enable Dyslexic Font
Engineering LibreTexts

Search

  • Filter Results
  • Location
  • Classification
    • Article type
    • Author
    • Set as Cover Page of Book
    • License
    • Show TOC
    • Transcluded
    • OER program or Publisher
    • Autonumber Section Headings
    • License Version
    • Print CSS
  • Include attachments
Searching in
About 9 results
  • https://eng.libretexts.org/Bookshelves/Computer_Science/Programming_Languages/Python_Programming_(OpenStax)/01%3A_Statements/1.04%3A_String_Basics
    This page presents basic string concepts in Python, including defining strings, using the len() function, and string concatenation. It features examples of valid/invalid strings, practice questions, a...This page presents basic string concepts in Python, including defining strings, using the len() function, and string concatenation. It features examples of valid/invalid strings, practice questions, and user input introductions. Additionally, there are two programming exercises focused on calculating name lengths and formatting greetings with variables.
  • https://eng.libretexts.org/Bookshelves/Computer_Science/Programming_Languages/Python_Programming_(OpenStax)/08%3A__Strings
    This page covers string manipulation in programming, including string operations, slicing, searching, formatting, and splitting/joining strings. It provides a chapter summary to enhance understanding ...This page covers string manipulation in programming, including string operations, slicing, searching, formatting, and splitting/joining strings. It provides a chapter summary to enhance understanding of these concepts. Additionally, it mentions user interface labels that aid in path settings and confirmation dialogues in a software application.
  • https://eng.libretexts.org/Bookshelves/Computer_Science/Programming_Languages/Python_Programming_(OpenStax)/16%3A_Answer_Key/16.07%3A_Chapter_8
    This page covers string operations such as comparisons, slicing, searching, formatting, and splitting/joining. It explains ASCII values for string order, substring extraction, counting, finding method...This page covers string operations such as comparisons, slicing, searching, formatting, and splitting/joining. It explains ASCII values for string order, substring extraction, counting, finding methods, and error handling. The text includes examples for modifying strings and using delimiters in splitting and joining. Overall, it offers a thorough overview of string manipulation in programming.
  • https://eng.libretexts.org/Bookshelves/Computer_Science/Programming_Languages/Python_Programming_(OpenStax)/16%3A_Answer_Key/16.03%3A_Chapter_4
    This page discusses key programming concepts such as Boolean values, if-else statements, Boolean operations, and operator precedence. It highlights the evaluation of expressions, the significance of B...This page discusses key programming concepts such as Boolean values, if-else statements, Boolean operations, and operator precedence. It highlights the evaluation of expressions, the significance of Boolean variables, and provides examples of decision-making structures. The text covers the correct use of conditional expressions for assignments, illustrating how comparisons affect assigned values, and emphasizes the efficiency of using Boolean expressions directly.
  • https://eng.libretexts.org/Bookshelves/Computer_Science/Programming_Languages/Python_Programming_(OpenStax)/08%3A__Strings/8.05%3A_Splitting_Joining_Strings
    This page outlines learning objectives for Python's string manipulation methods `split()` and `join()`. It explains how `split()` divides strings using a delimiter and provides examples, while `join()...This page outlines learning objectives for Python's string manipulation methods `split()` and `join()`. It explains how `split()` divides strings using a delimiter and provides examples, while `join()` concatenates a list of strings into one. Practical exercises encourage applying these methods, such as printing unique words from a comma-separated input and formatting restaurant orders.
  • https://eng.libretexts.org/Bookshelves/Computer_Science/Programming_Languages/Python_Programming_(OpenStax)/08%3A__Strings/8.03%3A_Searching_Testing_Strings
    This page discusses string manipulation techniques in programming, focusing on using the 'in' operator, count() method, and find()/index() methods for substring operations. It includes examples and ch...This page discusses string manipulation techniques in programming, focusing on using the 'in' operator, count() method, and find()/index() methods for substring operations. It includes examples and checkpoint questions to enhance comprehension, emphasizing practical applications like iterating through strings and counting characters. A suggested exercise involves creating a program to count and remove spaces from a string, reinforcing these concepts through hands-on practice.
  • https://eng.libretexts.org/Bookshelves/Computer_Science/Programming_Languages/Python_Programming_(OpenStax)/08%3A__Strings/8.00%3A_Introduction
    This page covers Python string methods that enable effective processing of string values, including comparison, slicing, searching, testing, formatting, and modifying character sequences.
  • https://eng.libretexts.org/Bookshelves/Computer_Science/Programming_Languages/Python_Programming_(OpenStax)/05%3A_Loops/5.02%3A_For_Loop
    This page explains the for loop construct in Python, highlighting its use for iterating over containers like ranges, strings, and lists. It covers the range() function for sequence generation and incl...This page explains the for loop construct in Python, highlighting its use for iterating over containers like ranges, strings, and lists. It covers the range() function for sequence generation and includes practical examples and exercises. Users can practice tasks like counting characters and printing number sequences while assessing their understanding through checkpoints. Specific programming exercises, such as counting spaces in a string and identifying even and odd numbers, reinforce skills.
  • https://eng.libretexts.org/Bookshelves/Computer_Science/Programming_Languages/Python_Programming_(OpenStax)/08%3A__Strings/8.02%3A_String_Slicing
    This page covers string manipulation techniques in programming, emphasizing string indexing, slicing, and the concept of immutability. It explains how to access characters and substrings through both ...This page covers string manipulation techniques in programming, emphasizing string indexing, slicing, and the concept of immutability. It explains how to access characters and substrings through both positive and negative indexing. The text notes that strings cannot be modified directly, necessitating the creation of new string objects for any changes. Additionally, it includes examples and practice questions to enhance understanding of string handling.

Support Center

How can we help?