Skip to content

LC120109/HackInScience-Exercices

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

HackInScience Exercises Solutions

All Exercices can be found Here


Python - Basics

# Title
01 Hello World
02 Print 42
03 Number of seconds in a year
04 Using operators
05 Characters counting
06 Fix the indentation
07 Square numbers
08 Powers of two
09 Import
10 Comparisons
11 Counting Words
12 First function
13 Print even numbers
14 Sum of even numbers
15 Multiples of 3 and 5
16 Temperatures
17 Print every two letters pairs
18 Print every pair of distinct letters

Python - Training

# Title
01 Distance
02 Check if a number is prime
03 Sum of every prime number below n
04 Print every prime numbers in a range
05 [Next prime]
06 [The Fibonacci sequence]
07 [Exceptions]
08 [Display the date and time]
09 [Print the content of a file]
10 [Pernicious numbers]
11 [Product of iterable]
12 [Count the lower 'e' in the 'words' file]
13 [Is divisible by ?]
14 [Frequency of letters in a file]
15 [Doing HTTP requests]
16 [Largest product in a series]
17 [Lambda expressions]
18 [Longest Collatz sequence]
19 [Largest product in a grid]
20 [CSV and Python]
21 [Pascal's triangle]

Python - Realist

# Title
01 Longest word
02 Print sorbet flavors
03 Sets of love
04 Sort students
05 [Reverse Roman Numerals]
06 [Select students]
07 [Friday the 13th]
08 [The missing card]
09 [Playing with anagrams]
10 [Currency]
11 [Flatten lists]
12 [Perfect deck shuffle]
13 [Hearts emojis]
14 [Text framing]
15 [Draw N Squares]
16 [Student class]
17 [Print battery charge]
18 [Side by side]
19 [Format your output]
20 [Roman Numerals]
21 [Caesar Cypher]
22 [Break a safe]
23 [Password Generator]
24 [bencode, bdecode]
25 [Restaurant menu]
26 [Py Master Mind]
27 [Elementary cellular automation]
28 [Temperature class]
29 [Sequence Mining]
30 [Change for 42]
31 [IRC logs as CSV]

Python - Command Line

# Title
01 Print parameters
02 Print the first parameter
03 Simple adder
04 [Calculator]
05 [Fir tree]

Python and Numpy

# Title
01 [Abelian sandpiles]
02 [Make your own 2048 in Python!]
03 [Dirichlet solver]

About

Solutions to the HackInScience Exercises

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages