What do you want to save?
Add Code snippet
New code examples
-
Other 2021-11-18 04:06:15
find the runner-up score
n = int(input()) arr = list(map(int, input().split())) zes = max(arr) i=0 while(i<n): if zes ==max(arr): arr.remove(max(arr)) i+=1 print(max(arr)) #note: do not use set() will not work for negative numbers # contact me : sandeshbhat200... Add solution -
Dart 2021-10-16 07:55:07
removing element from array in dart
import 'dart:core'; void main() { List<int> intArr = [1,2,3,4,5,6,8,9,10]; //Remove a value from the list //syntax: List.remove(value) intArr.remove(3); //Remove element at specific index or location //syntax: List.removeAt(i... Add solution -
Dart 2021-09-29 18:52:03
dart remove first item from list
// Removing elements or items from list/array in dart import 'dart:core'; void main() { List<int> intArr = [1,2,3,4,5,6,8,9,10]; //Remove a value from the list //syntax: List.remove(value) intArr.remove(3); //Remove element at ... Add solution