当前位置:首页
> Luz 第2798页
Luz 管理员
暂无介绍
89860 篇文章 33 次评论PROGRAMMING:JMU Python string exception handling
Input a line of string and subscript to get the corresponding characters. The program can deal with the illegal data.###…
PROGRAMMING:JMU Python prime
Enter a number to determine whether it is prime. Prime numbers are natural numbers greater than 1. There are no other fa…
PROGRAMMING:JMU Python combinatorial number
The problem requires the preparation of procedures, according to the formula, determine if or not them could constitute a triangl…
PROGRAMMING:Area of a triangle_ one
Input 3 sides of a triangle (a,b,c, all sides are floating numbers), calculating the area of the triangle.The fomular i…
PROGRAMMING:3-1 read in a letter and output the corresponding ASCII value.
3-1 write a program to read in a letter and output the corresponding ASCII value.###Input format:For example, enter a le…
PROGRAMMING:3-2 calculate the perimeter and area of a circle
3-2 write a program to input the radius r of the circle from the keyboard to calculate the circumference Cl and the area…
PROGRAMMING:5-2 calculate 1+ 2!+ 3!+...+ n! The sum of
5-2, sum = 1+ 2!+ 3!+...+ n! Where n is entered from the keyboard.###Input format:For example, enter a positive integer.…
PROGRAMMING:5-1 to calculate the sum of 1 + 2 + 3 +... + n
5-1 calculates the sum of sum = 1 + 2 + 3 + 4 +... + N, where n is entered from the keyboard.###Input format:For example…
PROGRAMMING:4-1 judge whether n is odd or even
4-1 input a positive integer n to judge whether n is odd or even###Input format:For example, enter an integer on a line.…
