Apparelizer

Videos › Color, prints and trends

#23 Python Tutorial for Beginners | Printing Patterns in Python

By Telusko 7:56 1,446,742 views on YouTube Jul 15, 2018

Watch on YouTube

Check out our courses: Agentic AI Engineering with Python : https://go.telusko.com/agentic-ai-python Coupon: TELUSKO10 (10% Discount) Master Java Spring Development : https://go.telusko.com/learn-master Coupon: TELUS... Show more

Check out our courses: Agentic AI Engineering with Python : https://go.telusko.com/agentic-ai-python Coupon: TELUSKO10 (10% Discount) Master Java Spring Development : https://go.telusko.com/learn-master Coupon: TELUSKO10 (10% Discount) For More Queries WhatsApp or Call on : +919008963671 website : https://telusko.com/ Udemy Courses: Java Spring:- https://go.telusko.com/Udemyjavaspring Java:- https://go.telusko.com/udemyteluskojava Spring: https://go.telusko.com/udemyteluskospring Java For Programmers:- https://go.telusko.com/javaProgrammers Python : https://go.telusko.com/udemyteluskopython Git : https://go.telusko.com/udemyteluskogit Docker : https://go.telusko.com/udemyteluskodocker Instagram : https://www.instagram.com/navinreddyofficial/ Linkedin : https://in.linkedin.com/in/navinreddy20 WhatsApp : https://go.telusko.com/whatsapp Discord : https://discord.gg/D8hWe9BqfF In this lecture we will learn: - How to implement the logic for pattern printing? - Pattern printing through python - Print the pattern of a square - Print the pattern of the right triangle and reverse right-triangle - Different approaches to printing a pattern #1 - Pattern printing improves logical thinking capability. - Programming is all about solving the problem, we have to understand the problem statement and wrote code for it. - A pattern can be printed in many ways. - We can print multiple hashes(#) in a single statement as a string. - If you are allowed to print only hash in a statement at a time, then you have to write the same print statement multiple times. - On writing a statement multiple times, it will give an output in a column. - To convert a column output into a row format, we can use the end=" "parameter in every statement. - To will restrict the cursor to move on a new line and hashes(#) will be printed in a single row. #2 - Instead of writing the same code multiple times, we can use a for a loop. - For a range(n) in a for loop, it will start from 0 and end

teluskonavinreddytutorialpythonforwhileloop

This video is shown with YouTube's player and belongs to its creator. (Telusko)