Snakify
- John Fortnite – CEO of Snakify Answers.
- Visit the post for more. To find a desired problem, press control+F and type the problem name.
Problems from site - 0205minimum3.py. Files for snakify, version 1.1.1; Filename, size File type Python version Upload date Hashes; Filename, size snakify-1.1.1.tar.gz (1.8 kB) File type Source Python version None Upload date Sep 4, 2017 Hashes View.
To find a desired problem, press control+F and type the problem name.
Section 1
1.1 – Sum of three numbers
a = int(input())
b = int(input())
c = int(input())
print(a + b + c)
1.2 – Hi John
name = input()
print('Hi', name)
1.3 – Square
a = int(input())
print(a ** 2)
1.4 – Area of right-angled triangle
a = int(input())
b = int(input())
print(a * b / 2)
1.5 – Hello, Harry!

print('Hello, ' + input() + '!')
1.6 – Apple sharing
n = int(input())
k = int(input())
print(k // n)
print(k % n)

1.7 – Previous and next
n = int(input())
print(‘The next number for the number ‘ + str(n) + ‘ is ‘ + str(n + 1) + ‘.’)
print(‘The previous number for the number ‘ + str(n) + ‘ is ‘ + str(n – 1) + ‘.’)
1.8 – Two timestamps
1.9 – School desks
Section 2
2.1 – Last digit of integer
2.2 – Two digits
2.3 – Swap digits
2.4 – Last two digits
2.5 – Tens digit
2.6 – Sum of digits
2.7 – Reverse three digits
my_number = int(input())
print(str(my_number)[::-1])
2.8 – Merge two numbers
num0 = int(input())
num1 = int(input())
print(str(num0)[0]+str(num1)[0]+str(num0)[1]+str(num1)[1])
Snakify Answers Square
2.9 – Cyclic rotation
2.10 – Fractional part
2.11 – First digit after decimal point
2.12 – Car route
2.13 – Day of the week
2.14 – Digital clock
2.15 – Total cost
2.16 – Century
Snakify Answers Leap Year
2.17 – Snail
2.18 – Clock face -1
2.19 – Clock face – 2
Snakify Answers
Section 3
3.1 – Is positive
3.2 – Is odd
3.3 – Is even
3.4 – Ends on seven
3.5 – Minimum of two numbers
3.6 – Are both odd
3.7 – At least one odd
3.8 – Exactly one odd
3.9 – Sign function
3.10 – Numbers in ascending order
3.11 – Is three digit
3.12 – Minimum of three numbers
3.13 – Equal numbers
Snakify Solutions
3.14 – Rook move
3.15 – Chess board – black square
3.16 – Chess board – same colour
If Then Python
3.17 – Distance to closest point