Python 3.7.0 (v3.7.0:1bf9cc5093, Jun 27 2018, 04:06:47) [MSC v.1914 32 bit (Intel)] on win32
Type "copyright", "credits" or "license()" for more information.
>>> 
 RESTART: C:\Users\Omar\Desktop\ITI 1120 Assignments\Assignment\Assignment 1.py 
>>> 
 RESTART: C:\Users\Omar\Desktop\ITI 1120 Assignments\Assignment\Assignment 1.py 
>>> #Testing Question 1
>>>
>>> pythagorean_pair(2,2)
False
>>> pythagorean_pair(6,2)
False
>>> pythagorean_pair(6,8)
True
>>> pythagorean_pair(300,-400)
True
>>> #Testing Question 2
>>> 
>>> mh2kh(5)
8.045
>>> mh2kh(110.4)
177.634
>>> #Testing Question 3
>>> 
>>> in_out(0,0,2.5)
Enter a number for the x coordinate of a query point: 0
Enter a number for the y coordinate of a query point: 1.2
True
>>> in_out(2.5,1,1)
Enter a number for the x coordinate of a query point: -1
Enter a number for the y coordinate of a query point: 1.5
False
>>> in_out(-2.5,1,2.1)
Enter a number for the x coordinate of a query point: -1
Enter a number for the y coordinate of a query point: 1.5
True
>>> 
>>> #Testing Question 4
>>> 
>>> safe(93)
False
>>> safe(82)
True
>>> safe(29)
False
>>> safe(36)
False
>>> safe(9)
False
>>> safe(7)
True
>>> 
>>> #Testing Question 5
>>> 
>>> quote_maker('Everything should be made simpler but not simpler', 'Albert Einstein',1933)
		
In 1933 , a person called Albert Einstein said:" Everything should be made simpler but not simpler"
>>>  quote_maker("I would never die for my beliefs because I might be wrong.", "Bertrand Russell", 1951)
		
SyntaxError: unexpected indent
>>> quote_maker("I would never die for my beliefs because I might be wrong.", "Bertrand Russell", 1951)
		
In 1951 , a person called Bertrand Russell said:" I would never die for my beliefs because I might be wrong."
>>> 
		
>>> #testing question 6
		
>>> 
		
>>> quote_displayer()
		
Please feed me a quote:The best lack all conviction while the worst are full of passionate intensity
Who was the genius that said it:Bertrand Russel
When did this genius say it:1960
In 1960 , a person called Bertrand Russel said:" The best lack all conviction while the worst are full of passionate intensity"
>>> 
		
>>> #Testing question 7
		
>>> 
		
>>> # I was not able to complete it therefore we skip to testing question 8
		
>>> #Testing Question 8
		
>>> fun(7)
		
0.25
>>> fun(20)
		
0.3404319590043982
>>> fun(2.25)
		
0.18003982585148923
>>> fun(99999997)
		
2.0
>>> fun(0.1)
		
0.12284042345856817
>>> 
		
>>> #Testing Question 9
		
>>> 
		
>>> ascii_name_plaque('Omar')
		
**************************************************
*                                                *
*                    __Omar__                    *
*                                                *
**************************************************
>>> ascii_name_plaque('uhgrihpszvoizfv')
		
**************************************************
*                                                *
*              __uhgrihpszvoizfv__               *
*                                                *
**************************************************
>>> 
		
>>> #testing question 10
>>> 
>>> draw_train()
>>> 
>>> #Testing Quesion 11
>>> 
>>> alogical(5.4)
3
>>> alogical(4)
2
>>> alogical(10000)
14
>>> alogical(4200231)
23
>>> 
>>> 
>>> #Testing Question 12
>>> 
>>> 
>>> time_format(8,0)
It is  8  o'clock
>>> time_format(8,59)
It is 9  o'clock
>>> time_format(8,2)
It is  8  o'clock
>>> time_format(8,8)
It is 10 minutes past  8  o'clock
>>> time_format(8,32)
It is half past  8  o'clock
>>> time_format(8,48)
It is 10 minutes to  9  o'clock
>>> time_format(17,42)
It is 20 minutes to  18  o'clock
>>> time_format(23,13)
It is 15 minutes past  23  o'clock
>>> time_format(23,42)
It is 20 minutes to  0  o'clock
>>> time_format(0,29)
It is half past  0  o'clock
>>> time_format(11,59)
It is 12  o'clock
>>> time_format(23,58)
It is 0  o'clock
>>> time_format(0,1)
It is  0  o'clock
>>> time_format(11,1)
It is  11  o'clock
>>> 
>>> #Testing Question 13
>>> 
>>> cad_cashier(10.58,11)
0.4
>>> cad_cashier(98.87,100)
1.15
>>> cad_cashier(10.58,15)
4.4
>>> cad_cashier(10.55,15)
4.45
>>> cad_cashier(10.54,15.01)
4.45
>>> cad_cashier(10.52,15.03)
4.55
>>> cad_cashier(10.50,15)
4.5
>>> 
>>> 
>>> #tesing Question 14
>>> 
>>> min_CAD_coins(10.58,11)
(0, 0, 1, 1, 1)
>>> min_CAD_coins(98.87,100)
(0, 1, 0, 1, 0)
>>> min_CAD_coins(98.85,100)
(0, 1, 0, 1, 0)
>>> 
>>> cad_cashier(1.05,1)
'Not enough funds'
>>> cad_cashier(1.00,0.95)
'Not enough funds'
>>> cad_cashier(1.00,1.05)
0.05
>>> min_CAD_coins(98.85,100)
(0, 1, 0, 1, 1)
>>> min_CAD_coins(10.58,11)
(0, 0, 1, 1, 1)
>>> min_CAD_coins(10.58,15)
(2, 0, 1, 1, 1)
>>> min_CAD_coins(10.55,15)
(2, 0, 1, 2, 0)
>>> min_CAD_coins(10.54,15)
(2, 0, 1, 2, 0)
>>> min_CAD_coins(10.52,15)
(2, 0, 2, 0, 0)
>>> min_CAD_coins(10.5,15)
(2, 0, 2, 0, 0)
>>> min_CAD_coins(3,20)
(8, 1, 0, 0, 0)