Create 3 - Second Guessing.py
This commit is contained in:
		
							parent
							
								
									dbcf296ec3
								
							
						
					
					
						commit
						b47d21db96
					
				
							
								
								
									
										7
									
								
								04/3 - Second Guessing.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								04/3 - Second Guessing.py
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,7 @@ | ||||
| # goal: print out the number of seconds in a week  | ||||
| secondsPerMinute = 60 | ||||
| secondsPerHour = secondsPerMinute * 60 # todo: check this! | ||||
| secondsPerDay = secondsPerHour * 24 | ||||
| daysPerWeek = 5 | ||||
| daysPerWeek = daysPerWeek + 2 # weekends are disabled!? | ||||
| print(secondsPerDay * daysPerWeek) | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user