您搜索了: algorithmes (法语 - 英语)

人工翻译

来自专业的译者、企业、网页和免费的翻译库。

添加一条翻译

法语

英语

信息

法语

algorithmes

英语

algorithm

最后更新: 2014-12-09
使用频率: 9
质量:

警告:此对齐可能有误。
如果您觉得是这样,请将其删除。

法语

algorithmes utilisÉs

英语

algorithms used

最后更新: 2014-11-21
使用频率: 1
质量:

法语

algorithmes d’ia

英语

define a class student with attributes code, name, average, and ranking. function read_students_file(file_name): students = empty list open the file file_name in read mode for each line in the file: split the line into code, name, and average create a student object with the data add the student to the students list close the file return students function sort_and_rank_students(students): sort the students list in descending order based on average for each student in students, assign a ranking based on their position in the sorted list return the sorted students list function create_ranking_file(students, file_name): open the file file_name in write mode for each student in students: write the name, average, and ranking to the file separated by spaces close the file function create_mentions_file(students, file_name): open the file file_name in write mode for each student in students: calculate the mention based on the average (e.g., "honors" if average >= 14, else "pass") write the name, average, ranking, and mention to the file separated by spaces close the file start of the main program students = read_students_file("students.dat") sorted_students = sort_and_rank_students(students) create_ranking_file(sorted_students, "ranking.dat") create_mentions_file(sorted_students, "mentions.txt") end of the main program

最后更新: 2023-10-03
使用频率: 1
质量:

警告:包含不可见的HTML格式

法语

prototypage d'algorithmes

英语

algorithm prototyping

最后更新: 2014-11-15
使用频率: 5
质量:

参考: IATE

法语

algorithme

英语

algorithm

最后更新: 2017-04-06
使用频率: 24
质量:

参考: IATE

获取更好的翻译,从
8,913,957,874 条人工翻译中汲取

用户现在正在寻求帮助:



Cookie 讓我們提供服務。利用此服務即表示你同意我們使用Cookie。 更多資訊。 確認