Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Question 1 Write a program using while loop that outputs all the numbers and their squares between 1 and 1 0 . Question 2 Write

Question 1
Write a program using while loop that outputs all the numbers and their squares between 1 and 10.
Question 2
Write a program that would display the factorial of a number. ( Example:- Factorial if 3 is 3*2*1 which is 6, Factorial of 5 is 120). Do not use the factorial from the math module
Question 3
Write a program that displays the Fibonacci series from 0-100
Question 4
Write a program to print the following number pattern using a loop.
1
12
123
1234
12345

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Learning PostgreSQL

Authors: Salahaldin Juba, Achim Vannahme, Andrey Volkov

1st Edition

178398919X, 9781783989195

More Books

Students also viewed these Databases questions

Question

What is the purpose of the Salary Structure Table?

Answered: 1 week ago

Question

What is the scope and use of a Job Family Table?

Answered: 1 week ago