当前位置:首页
> Luz 第2710页
Luz 管理员
暂无介绍
89860 篇文章 33 次评论PROGRAMMING:Summation of numeric elements of a list or tuple
Find the sum of numbers in the list, and the nesting level in the list is not limited to 2 levels###Input format:Enter a…
PROGRAMMING:Weighted sum of list elements (2)
Enter a nested list, nesting level is not more than 10, according to the level, the weighted number of list elements and…
PROGRAMMING:Weighted sum of list number elements (2)
Enter a nested list with unlimited nesting levels, and calculate the weighted sum of list elements according to the leve…
PROGRAMMING:Weighted sum of the number of list elements (1)
Enter a nested list with unlimited nesting levels, and calculate the weighted sum of list elements according to the leve…
PROGRAMMING:Weighted sum of list number elements (1)
Enter a nested list with unlimited nesting levels, and calculate the weighted sum of list elements according to the leve…
PROGRAMMING:Find the number of elements in the specified layer
Enter a nested list, and then enter the number of layers to find the number of digital elements of the layer.###Input fo…
PROGRAMMING:Count the number of words
Enter a line of characters to end with carriage return and count the number of words in it. A word is a sequence of char…
PROGRAMMING:Calculates the longest string length of N strings
Write a program to calculate the length of the longest string among n (1 ˂ n ˂ 10) strings. Don't count leading spaces!#…
PROGRAMMING:Zigzag output string
This problem requires you to output a string in the form of "Z".For example, for the string 'abcdefghij', if the output…
PROGRAMMING:Dictionary representation of Graphs
![ Capture. JPG] (~ / 87229a21-351c-4d82-9dba-6f35d8287f78. JPG)Dictionary representation of graphs. Input multiple line…