CONTENTS
- Syllabus Programs
- Stars Printing
- Basic
- Lists
- Decision Making Statements
- Loops
Syllabus Programs :
- Kilograms to Pounds
- Calculating total,average from User
- To print the numbers 8, 11, 14, 17, 20. . . 83, 86, 89.Using for loop
- User for their name and how many times to print it.{With out for loop}
- User for their name and how many times to print it.{With for loop}
- Printing a Triangle
- Random number between 1 and 10 and print amessage based on whether they get it right or not
- Two numbers,Close if the numbers are within .001of each other and Not close otherwise
- Enter a word and prints out whether that word contains any vowels.
- Alternating String. Eg: If the user enters abcdeandABCDE the program shouldprint out AaBbCcDdEe.
- Write a program that asks the user for a large integer and inserts commas into it according to the standard American convention for commas in large numbers. For instance, if the user enters 1000000, the output should be 1,000,000.
- In algebraic expressions, the symbol for multiplication is often left out, as in 3x+4y or 3(x+5). Computers prefer those expressions to include the multiplication symbol, like 3*x+4*y or 3*(x+5). Write a program that asks the user for an algebraic expression and then inserts multiplication symbols where appropriate
- Write a program that generates a list of 20 random numbers between 1 and 100.
(b) Print the average of the elements in the list.
(c) Print the largest and smallest values in the list.
(d) Print the second largest and second smallest entries in the list
(e) Print how many even numbers are in the list.
- Write a program that asks the user for an integer and creates a list that consists of the factors of that integer.
- Stars Printing
- Reverse Pyramid Pattern Program
- Right Start Pattern Program
- Left Start Pattern Program
- Hourglass Pattern Program
- Right Half-Pyramid Pattern Program
- Left Half-Pyramid Pattern Program
- Downward Half-Pyramid Pattern Program
- Diamond Shaped Pattern Program
- Diamond Star Pattern Program
Basic
Lists