Tasks Answers Made By: Safwan Yameen: City Names
Tasks Answers Made By: Safwan Yameen: City Names
Code:
function call:
Output:
T-shirt:
Question:
Code:
Function call:
Output:
Cities:
Question:
Code:
Function call:
Output:
Question 4 (factorial):
Question:
Code:
Input:
Output:
Question 5 (Fibonacci series):
Question:
Code:
Input:
Output:
Question 6 (pair prime):
Question:
Code:
Input:
20
Output:
(3, 5)
(5, 7)
(11, 13)
(17, 19)
Question 7 (square):
Question:
Code:
Input:
Output:
Question 8 (strong number):
Question:
Code:
Input:
Output:
Question 9 (pyramids):
Question:
Code:
Input:
Output:
Question 10 (leap frogs):
Question:
Code:
Input/Output:
A. N
AB. Y
ABB N
A.BB Y
A..BB..B N
A.B..BBB. Y
AB……… N
A.B..BBBB.BB Y