Prompt Engineering to Learn Python Loops & Functions

Generative AI, Python    |    Beginner
  • 14 videos | 1h 56m 58s
  • Includes Assessment
  • Earns a Badge
Rating 5.0 of 1 users Rating 5.0 of 1 users (1)
Loops and functions are two of the most important concepts in Python programming. Loops allow you to repeat a block of code a certain number of times, or until a condition is met. Functions allow you to group together related code and reuse it throughout your program. Begin this course by exploring shallow and deep copies of data structures and performing string splicing operations in Python. Then you will use comparison and logical operators to check whether a condition is satisfied. You will evaluate conditions using prompt engineering to find solutions to your problem scenarios. Next, you will iterate over sequences using for and while loops and use the break and continue keywords. You will create and use functions in Python, discovering how to prompt generative AI tools to write functions for you in response to stubs that you provide. Finally, you will focus on first class functions and lambdas.

WHAT YOU WILL LEARN

  • Discover the key concepts covered in this course
    Work with shallow and deep copies
    Perform operations with strings
    Work with comparison and logical operators
    Use conditional if statements
    Iterate using for loops
    Iterate using while loops
  • Use the break and continue keywords
    Perform list comprehension
    Define functions with function prompts
    Work with positional arguments, keyword arguments, and default values
    Test the features of first class functions
    Define lambdas in python
    Summarize the key concepts covered in this course

IN THIS COURSE

  • 2m 10s
    In this video, we will discover the key concepts covered in this course. FREE ACCESS
  • 12m 20s
    In this video, find out how to work with shallow and deep copies. FREE ACCESS
  • Locked
    3.  Performing String Operations
    9m 48s
    Learn how to perform operations with strings. FREE ACCESS
  • Locked
    4.  Comparing Operators and Logical Operators
    5m 39s
    During this video, discover how to work with comparison and logical operators. FREE ACCESS
  • Locked
    5.  Using Prompt Engineering for Conditional Evaluation
    9m 24s
    Find out how to use conditional if statements. FREE ACCESS
  • Locked
    6.  Iterating over Sequences Using For Loops
    9m 22s
    During this video, you will learn how to iterate using for loops. FREE ACCESS
  • Locked
    7.  Iterating over Sequences Using While Loops
    7m 59s
    Discover how to iterate using while loops. FREE ACCESS
  • Locked
    8.  Using the Keywords Break and Continue
    5m 30s
    Learn how to use the break and continue keywords. FREE ACCESS
  • Locked
    9.  Using Prompts to Perform List Comprehensions
    12m 19s
    In this video, discover how to perform list comprehension. FREE ACCESS
  • Locked
    10.  Generating Functions with Function Prompts
    10m 27s
    During this video, you will learn how to define functions with function prompts. FREE ACCESS
  • Locked
    11.  Working with Positional and Keyword Arguments
    9m 15s
    Find out how to work with positional arguments, keyword arguments, and default values. FREE ACCESS
  • Locked
    12.  Testing Features of First Class Functions
    9m 42s
    In this video, find out how to test the features of first class functions. FREE ACCESS
  • Locked
    13.  Using Prompt Engineering to Define Lambdas
    10m 13s
    In this video, discover how to define lambdas in Python. FREE ACCESS
  • Locked
    14.  Course Summary
    2m 52s
    In this video, we will summarize the key concepts covered in this course. FREE ACCESS

EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE

Skillsoft is providing you the opportunity to earn a digital badge upon successful completion on some of our courses, which can be shared on any social network or business platform.

Digital badges are yours to keep, forever.

YOU MIGHT ALSO LIKE

Rating 5.0 of 1 users Rating 5.0 of 1 users (1)
Rating 5.0 of 2 users Rating 5.0 of 2 users (2)

PEOPLE WHO VIEWED THIS ALSO VIEWED THESE

Rating 4.5 of 113 users Rating 4.5 of 113 users (113)
Rating 5.0 of 1 users Rating 5.0 of 1 users (1)
Rating 4.6 of 2165 users Rating 4.6 of 2165 users (2165)