Skip to content
This repository was archived by the owner on Sep 20, 2024. It is now read-only.

Commit ae65e3b

Browse files
committed
Hackathon Begins
1 parent 258899c commit ae65e3b

File tree

1 file changed

+41
-0
lines changed

1 file changed

+41
-0
lines changed

README.md

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# PyCBIT - Hackathon.init() - March 2018
2+
3+
## Rules for submitting
4+
1. To submit your code fork the repo to your profile, push the code and then put up a pull request.
5+
2. Completion of either one set fully or two questions from each set will be the minimum requirement for qualification.
6+
3. All the submissions after 11:59PM March 18th will not be considered.
7+
4. The file name should start with the question number followed by "_" and the desired name.(example : 1_sum_57, 2_room_percent_increase)
8+
9+
## Set 1
10+
1. Print the sum of numbers less than 500 which are divisible by 5 and not divisible by 7
11+
2. Consider a room with dimension 6X8X10, Write a program to compute the area of the room if the dimensions are increased by 15 percent.
12+
3. Sort the given words alphabetically and concat them with the second set.
13+
List Items 1
14+
* Ron
15+
* Hermione
16+
* Harry
17+
* Professor
18+
* Dobby
19+
* List Items 2
20+
* The House Elf
21+
* Potter
22+
* Granger
23+
* Lockhart
24+
* Weasley
25+
26+
27+
## Set 2
28+
29+
4. Special Pythagorean triplet
30+
A Pythagorean triplet is a set of three natural numbers, a < b < c, for which,
31+
a ^2^ + b^2^ = c^2^
32+
For example, 3^2^ + 4^2^ = 9 + 16 = 25 = 5^2^.
33+
There exists exactly one Pythagorean triplet for which a + b + c = 1000.
34+
Find the product abc.
35+
36+
5. 2520 is the smallest number that can be divided by each of the numbers from 1 to 10 without any remainder.
37+
38+
6. Write a program to find the smallest number that can be divided by all the numbers from 1 to 20 without leaving a remainder.
39+
40+
7. Ask the user for a string and print out whether this string is a palindrome or not.
41+
A palindrome is a string that reads the same forwards and backwards.

0 commit comments

Comments
 (0)