If statements Decision structures evaluate multiple expressions which produce TRUE or FALSE as outcome. You need to determine which ...
Read More
Home / Python
Showing posts with label Python. Show all posts
Showing posts with label Python. Show all posts
Introduction to Python Lists
Overview # The list type is a container that holds a number of other objects, in a given order. The list type implements the sequen...
Read More
Number of vowels
Algorithm: Program Code: sentence=input("Entera string") count = 0 vowels = "aeiuoAEIOU" for letter ...
Read More
sum of the digits of a given number
algorithm : Step 1: Input N Step 2: Sum = 0 Step 3: While (N != 0) Rem = N % 10; ...
Read More
Fibonacci Series
Fibonacci Series Algorithm Start Declare variables i, a,b , show Initialize the variables, a=0, b=1, and show =0 Enter the num...
Read More
Subscribe to:
Posts
(
Atom
)