This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
Given five positive integers, find the minimum and maximum values that can be calculated by summing exactly four of the five integers. Then print the respective minimum and maximum values as a single line of two space-separated long integers. | |
""" | |
def minMaxSum(arr): | |
# arr = list(map(int, input().strip().split())) | |
#arrange array elements in order from ascending to descending order | |
arr.sort() | |
#sum array elements from the first index to the last but one index of the array | |
x = sum(arr[0:-1]) | |
#sum array elements from the second index to the last index of the array |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<x-base> | |
<div class="container"> | |
<div class="mt-5 text-center"> | |
<img src="{{ asset('imgs/assets/title-logo.png') }}" alt="" style="width: 3.8rem"> | |
<h2>Hi! Mentee, Find Your Mentor on CasvaLabs</h2> | |
{{-- <h5>Register</h5> --}} | |
</div> | |
<div class="row justify-content-center"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.CPS2C_G5; | |
/** | |
* This is our project work for the mid-sem | |
* Members: | |
* Names ID | |
* Joshua Nyarko Boateng 01194083D | |
* Frank Baides Ayi 01192129D | |
* Edmund Ofori Darteh 01190273D | |
* Emmanuel Larbi 01191385D | |
* Esther Addo 01191350D |