From a2a2a7d93538476a77cffe50e177eab368126944 Mon Sep 17 00:00:00 2001 From: Vasudev Date: Tue, 6 Dec 2022 10:11:12 +0530 Subject: [PATCH 1/4] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 610b891..a31669d 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ # python This repository have python programming codes from "PROBLEM SOLVING AND PYTHON PROGRAMMING LABORATORY" based on Anna University Syllabus. -The python codings based on Regulation- 2017 is stored in the branch python-2017 -The python codings based on Regulation- 2021 is stored in the branch python-2021 +The python codings based on Regulation- 2017 is stored in the branch python_reg_2017 +The python codings based on Regulation- 2021 is stored in the branch python_reg_2021 If you have any queries You can contact me at "erudite31.wordpress.com" (or) "erudite31.wp@gmail.com" From 2c036f65c85322db6acb9512b17626dd41e56ea0 Mon Sep 17 00:00:00 2001 From: Vasudev Date: Tue, 6 Dec 2022 10:12:13 +0530 Subject: [PATCH 2/4] Update README.md --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index a31669d..1e4bf63 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,8 @@ # python This repository have python programming codes from "PROBLEM SOLVING AND PYTHON PROGRAMMING LABORATORY" based on Anna University Syllabus. + The python codings based on Regulation- 2017 is stored in the branch python_reg_2017 + The python codings based on Regulation- 2021 is stored in the branch python_reg_2021 + If you have any queries You can contact me at "erudite31.wordpress.com" (or) "erudite31.wp@gmail.com" From 861af8fcdc2bae48167c1dc80dea845446978ff5 Mon Sep 17 00:00:00 2001 From: Vasudev Date: Tue, 6 Dec 2022 10:17:01 +0530 Subject: [PATCH 3/4] Add files via upload --- 1.GCD.py | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 1.GCD.py diff --git a/1.GCD.py b/1.GCD.py new file mode 100644 index 0000000..2cfe030 --- /dev/null +++ b/1.GCD.py @@ -0,0 +1,16 @@ +# define a function +def computeGCD(x, y): +# Find and choose the smaller number + if x > y: + smaller = y + else: + smaller = x + for i in range(1, smaller+1): + if((x % i == 0) and (y % i == 0)): + gcd = i + return gcd +str1=input("Enter first number: ") +num1 = int(str1) +str2=input("Enter second number: ") +num2 = int(str2) +print("The G.C.D. of", num1,"and", num2,"is", computeGCD(num1, num2)) From 84e582bc249b0f07070abba54edf9509f1730100 Mon Sep 17 00:00:00 2001 From: Vasudev Date: Tue, 6 Dec 2022 10:20:25 +0530 Subject: [PATCH 4/4] Update README.md --- README.md | 33 ++++++++++++++++++++++++++++++--- 1 file changed, 30 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 1e4bf63..79d8cc3 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,35 @@ # python -This repository have python programming codes from "PROBLEM SOLVING AND PYTHON PROGRAMMING LABORATORY" based on Anna University Syllabus. +This repository have python programming codes from "PROBLEM SOLVING AND PYTHON PROGRAMMING LABORATORY" based on Anna University Syllabus Regulation 2017. The python codings based on Regulation- 2017 is stored in the branch python_reg_2017 -The python codings based on Regulation- 2021 is stored in the branch python_reg_2021 - If you have any queries You can contact me at "erudite31.wordpress.com" (or) "erudite31.wp@gmail.com" + +Syllabus - Regulation 2017 + +1. Compute the GCD of two numbers. + +2. Find the square root of a number (Newton’s method) + +3. Exponentiation (power of a number) + +4. Find the maximum of a list of numbers + +5. Linear search and Binary search + +6. Selection sort, Insertion sort + +7. Merge sort + +8. First n prime numbers + +9. Multiply matrices + +10. Programs that take command line arguments (word count) + +11. Find the most frequent words in a text read from a file + +12. Simulate elliptical orbits in Pygame + +13. Simulate bouncing ball using Pygame + pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy