Prompt Engineering to Learn Python Loops & Functions
Generative AI, Python
| Beginner
- 14 videos | 1h 56m 58s
- Includes Assessment
- Earns a Badge
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 courseWork with shallow and deep copiesPerform operations with stringsWork with comparison and logical operatorsUse conditional if statementsIterate using for loopsIterate using while loops
-
Use the break and continue keywordsPerform list comprehensionDefine functions with function promptsWork with positional arguments, keyword arguments, and default valuesTest the features of first class functionsDefine lambdas in pythonSummarize the key concepts covered in this course
IN THIS COURSE
-
2m 10sIn this video, we will discover the key concepts covered in this course. FREE ACCESS
-
12m 20sIn this video, find out how to work with shallow and deep copies. FREE ACCESS
-
9m 48sLearn how to perform operations with strings. FREE ACCESS
-
5m 39sDuring this video, discover how to work with comparison and logical operators. FREE ACCESS
-
9m 24sFind out how to use conditional if statements. FREE ACCESS
-
9m 22sDuring this video, you will learn how to iterate using for loops. FREE ACCESS
-
7m 59sDiscover how to iterate using while loops. FREE ACCESS
-
5m 30sLearn how to use the break and continue keywords. FREE ACCESS
-
12m 19sIn this video, discover how to perform list comprehension. FREE ACCESS
-
10m 27sDuring this video, you will learn how to define functions with function prompts. FREE ACCESS
-
9m 15sFind out how to work with positional arguments, keyword arguments, and default values. FREE ACCESS
-
9m 42sIn this video, find out how to test the features of first class functions. FREE ACCESS
-
10m 13sIn this video, discover how to define lambdas in Python. FREE ACCESS
-
2m 52sIn 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.