Roshni V Rforroshnivr.hashnode.net·Feb 12, 2023Your First Steps in Python: A Guide to the BasicsThe Importance of Python and its Evolution Once upon a time, there was a kingdom where coding was a mysterious and complex art. But then, a wise programmer named Guido van Rossum created a new language that would change everything. He named it Python...Discuss·10 likes·209 readsintroduction to python
Smd SohailforSohail's Blogsohail18.hashnode.net·Feb 26, 2023Data Types in Python-2Hey Smarties, I wish you have a good day today, welcome to this week's article. Today, I am going to make you gain knowledge on "data types". If you are new to Python programming then this will help you flaunt your coding skills among your peers. Hop...Discuss·10 likesdata types
Smd SohailforSohail's Blogsohail18.hashnode.net·Mar 5, 2023Lists In PythonHey Smarties, I wish you have a good day today, welcome to this week's article. Today, I am going to make you gain knowledge on "data types". If you are new to Python programming then this will help you flaunt your coding skills among your peers. Hop...Discuss·7 likesPython 3
Priya ChakrabortyforPriya's blogpriyachakraborty.hashnode.net·Apr 23, 2023DAY 8 of PYTHON top 100 questions : from Basic to Advanced !!Write a Python program to count the number of vowels in a given string : vowels = set("aeiouAEIOU") count = 0 string = input("Enter a string: ") for char in string: if char in vowels: count += 1 print("The number of vowels in the string i...Discuss·2 likes100DaysOfCode
Priya ChakrabortyforPriya's blogpriyachakraborty.hashnode.net·Apr 22, 2023DAY 7 of PYTHON top 100 questions : from Basic to Advanced !!Write a Python program to check whether a given string is a palindrome or not:- str=input("ENTER THE STRING : ") if str == str[::-1]: print("YES") else: print("NO") Output: ENTER THE STRING : eye YES The code first prompts the user to inpu...Discuss100DaysOfCode
Priya ChakrabortyforPriya's blogpriyachakraborty.hashnode.net·Apr 22, 2023DAY 6 of PYTHON top 100 questions : from Basic to Advanced !!Write a Python program to find the factorial of a given number: n=int(input('Enter the number : ')) fact=1 for i in range(1,n+1): fact=fact*i print(fact) Output : Enter the number : 6 720 This is a Python program to calculate the factorial o...DiscussDay6
Priya ChakrabortyforPriya's blogpriyachakraborty.hashnode.net·Apr 18, 2023DAY 3 of PYTHON top 100 questions : from Basic to Advanced !!Write a Python program to find the largest element in an array : a=[56,78,34,90,23,56,34] a.sort() print("The largest element is",a[-1]) Output: The maximum element is 90 The given code sorts the list a in ascending order and then prints the larges...Discussarray
Vrishni Shree V BforVrishni Blogvrishni.hashnode.net·Apr 16, 2023DevOps, Day - 13what is Python? Python is a type of computer language that people use to tell computers what to do. It's easy to learn and people use it for many things like making websites, analyzing data, and creating intelligent systems. Lots of people like to us...Discuss·53 readsPython 3
Rohit PimpaleforRohit Pimpale Blog'sblogrohit.hashnode.net·Apr 14, 2023Python OOP ConceptsHey welcome to my blogs To give you a summary of myself and why I am starting to blogging I am Rohit Pimpale 2nd year in IT engineering and I am enthusiastic about ML. So I decided to blog because I wanted to share knowledge and document my ML engine...DiscussPython
Priya ChakrabortyforPriya's blogpriyachakraborty.hashnode.net·Mar 19, 2023Basics of Python-15Day -15 So far, I have discussed the basics of python. In my blogs, I have tried to cover all the basics concept of python. Basics of Python - Print Statement Basics of Python-2 - Data Types Basics of Python-3 - Conditional Statement Basics of P...Discuss·53 readsBasics of Python
Priya ChakrabortyforPriya's blogpriyachakraborty.hashnode.net·Mar 18, 2023Basics of Python-14Day-14 Object-Oriented Programming(OOPs): Python is a high-level programming language that supports Object-oriented programming that includes objects and classes. The basic concept of OOPs are : Class : A blueprint or template for creating object...Discuss·27 readsOOPS
Priya ChakrabortyforPriya's blogpriyachakraborty.hashnode.net·Mar 17, 2023Basics of Python-13Day-13 Function : Python function is a block of code to make the code easier and to do the specific task. there are two types of functions in python -: Built-in function User-defined function Basics syntax of function : def function_name(param...Discuss·26 readsfunctions
Jayajevaa.NforJJ's Blogjjblogs.hashnode.net·Mar 17, 2023Python Unleashed : Hello pythonHello python As we always do let's start this python journey with a hello python program. In Python, we use the keyword 'print' to display any message we want to in the console. The content you would like to print goes inside the parenthesis in strin...Discuss·4 likes·69 readsCODE OF DUTY : Python-ating your LifePython