The problem from Internet: Pentagonal Number | Python Simple Practice Problem | the code panda

Опубликовано: 13 Июнь 2026
на канале: the code panda
299
6

Welcome Again, In today's video we are going to solve the problem from the internet.
The problem is given as Pentagonal Number. According to the problem, Write a function that takes a positive integer num and calculates how many dots exist in a pentagonal shape around the center dot on the Nth iteration.

The first iteration is only a single dot. On the second, there are 6 dots. On the third, there are 16 dots, and on the fourth, there are 31 dots.

Find Problem Link below:
https://edabit.com/challenge/st8mDxre...

Used Library and Topics:
Library - None
Topics: Input & Print, Operators

Chapters By timestamp:
00:00​​​​ - 00:15 Introduction of video
00:15 - 02:03​​​​ - Introduction Of Problem
02:04​​ - 02:43​​​ - Taking inputs from the user
02:43​​ - 03:03​​​ - Running a loop from 1 to nth time
03:03​​ - 03:40​​​ - Taking an aux variable
03:40 - 04:20 - Finding Output
04:20 - 05:18 - Testing program and corrections

BE MY FRIEND:
🌍Check my website: https://thecodepanda.in/​​​​
📸Add me on Instagram:   / thecodepanda.in  
📕Add me on Facebook:   / thecodepanda.in  

ABOUT MY CHANNEL:
Hi! I’m The Code Panda. On my channel, you will find Programming videos. I love sharing Python, Java, C, C++ Tutorials & programs with you guys as I experience them myself.

Watch Complete Python Series :
   • Introduction To Python : What's inside thi...  

Watch Complete Playlist :
   • Python Daily Programs  

Subscribe here to see more of my videos in your feed!
   / @thecodepanda  

Feel free to add me on Instagram/Facebook/Reddit/Vk: thecodepanda.in

#PythonPracticeProblem, #PythonDailyProblems, #PythonPractice #python practice problems for beginners, #python practice problems geeks for geeks, #python practice problems pdf, #python practice problems with solutions pdf, #python practice problems book, #python practice problems on lists, #python practice problems for intermediate, #python practice problems, and solutions, #python practice problems beginners, #best python practice problems, #python practice problems for beginners pdf, #python 3 practice problems for beginners,
#big o practice problems python, #python practice problems for beginners with solutions, #python class practice problems, #list comprehension python practice problems, #practice python coding problems, #python dictionary practice problems, #python data science practice problems, #python data analysis practice problems, #python data structures practice problems, #python data types practice problems, #easy python practice problems, #python if-else practice problems, #regular expression practice problems python