Home > other >  Python youdao topic not great god save me, please
Python youdao topic not great god save me, please

Time:04-01

CodePudding user response:

Meaning is to create a new table, and then use the function to insert data in the 1,
2 is a function of inserting
Three is to find the data

CodePudding user response:

reference 1st floor shoppo0505 response:
mean to create a new table, and then use the function to insert data in the 1,
2 is a function of inserting
3 is to find the data

Want to ask the code specific code can teach it to me

CodePudding user response:

refer to the second floor weixin_54944939 response:
Quote: refer to 1st floor shoppo0505 response:
mean to create a new table, and then use the function to insert data in the 1,
2 is a function of inserting
3 is to find the data

Want to ask the code please specific code can teach

You can use the dataframe stored data, you can understand it as a table, and then for the operation of the dataframe,
Online more than n, for example, you get started with, very simple, you this program should not exceed 20 lines of code

CodePudding user response:

 
Import the random


# 1, randomly generated 15 students computer grade
Score=list ()
For I in range (15) :
Score. Append (random. Randint (0, 100))

To obtain the best result, # 2, and the serial number
Max_score=Max (score)
Max_score_index=score. The index (max_score)

To obtain the minimum scores, # 2, and the serial number
Min_score=min (score)
Min_score_index=score. The index (min_score)
  • Related