CSDN fans answer: The first issue of June selection – Internet written test programming solution, simple bug handling, programming system design, etc

 

There are so many weird questions on the backend that the blogger can only randomly select a few answers to his fans and share them with us. Bloggers provide timely and effective answers to questions raised by fans, including the following two situations:

  • In the first case, when the fans subscribe to the blogger’s articles, they can not only browse the blogger’s selected articles, but also answer the programming questions raised by each fan in turn and try their best to solve them perfectly until the bugs disappear.
  • The second case, help others, the hand leaves lingering fragrance, if is the student identity, not subscribe to the blogger’s column, you can go to pick you think bloggers also good collection of 20 articles for thumb up or background will receive system (blogger thumb up the number of messages), then at the time of counseling problems, first told that bloggers can also ha ^ – ^

If a blogger is online, he or she will respond. If you are busy during the day, please forgive me. After you see it at the latest, the blogger will reply in turn!

 

 

directory

Internet written test programming solution (difficulty coefficient 0.4)

1.1. Netizens raise questions

1.2. Bloggers solve the answer

2.1. Netizens raise questions

2.2. Bloggers solve the answer

3.1. Netizens raise questions

3.2. Bloggers solve the answer

Simple bug handling (Difficulty factor 0.3)

1.1. Netizens raise questions

1.2. Bloggers solve the answer

2.1. Netizens raise questions

2.2. Bloggers solve the answer

Internet Online Education Classroom System designed based on Python (Difficulty coefficient 0.5)

Netizens ask questions

Bloggers solve the problem


 

 

Internet written test programming solution (difficulty coefficient 0.4)

1.1. Netizens raise questions

Input the first integer N(1<=N<=1000), followed by an array A containing N integers (0<=A[I]<=100), and output the array with the smallest value removed.

 

1.2. Bloggers solve the answer

a=int(input('Please enter an integer: a= \n'))
b= list(map(int.input('Please count an array of a integers ().split()))

b_min=min(b)
for c in b:
    if c== b_min:
        pass
    else:
        print(c)
Copy the code

 

 

2.1. Netizens raise questions

 

2.2. Bloggers solve the answer

 

3.1. Netizens raise questions

 

 

3.2. Bloggers solve the answer

Simple bug handling (Difficulty factor 0.3)

1.1. Netizens raise questions

In python2.7, an error will still be reported. numpy.AxisError: axis 2 is out of bounds for array of dimension 2

1.2. Bloggers solve the answer

Recommended references: blog.csdn.net/qq_41185868…

 

 

2.1. Netizens raise questions

 

2.2. Bloggers solve the answer

Do you believe me or the books? A blogger is someone who has no basic knowledge. Is he still a blogger? Haha, still have to believe that the blogger is practicing internal skills! Life is full of fun, haha… Smile, ten young!

 

 

 

Internet Online Education Classroom System designed based on Python (Difficulty coefficient 0.5)

Netizens ask questions

Comprehensive application programming based on Python knowledge (basic data types, selections, loops, sequence types, collections, dictionaries, functions, etc.).

 

Bloggers solve the problem