In a class test teacher announces the marks(negative marking allowed) of n(n>0) students. A student can achieve max 100 marks. Write a python function Print_marks(*marks) that takes no. of students, marks of students and return the marks and check the marks are valid or not. If valid then it calls the recursive function rec_sort(*marks) which returns the students marks as a comma-separated string with elements in ascending order (You can use built-in function max/ min too do this). Specify input in fixed form don't use input function.
Can you complete this Perl/bash script for a url and for a list of urls and tell me how to write several regex in the same script?
wget -Otest.html https://www.cormes.de/impressum
perl -nE 'if (/\bmailto:([\w\.]+\@[\w\.]+)/) { say $1 }' test.html
perl -nE 'if (/Straße: \[A-Za-z] [0-9]/) {say $1}'test.html
perl -nE 'if ( /PLZ und Ort: \ [0-9] {5} - [A-Za-z]) /{say $1}'test.html
perl -nE 'if (/FirstName and LastName: \[A-Za-z] [A-Za-z])/{say $1}'test.html
https://idowapro.de/impressum/#:~:text=Gesch%C3%A4ftsf%C3%BChrer%3A%20Lutz%20Teubert
perl -nE'if( 's|\([0-9]{2}\)-[0-9]{3}-[0-9]{3}-[0-9]{2}-[0-9]{2}|##-###-###-##-##|g')
To extract an email, this regex works well.
The other regex are validated by regex 101.
I have the link to get the CEO's first and last name but don't know which tool allows you to decode it to use it in the script.
An executive with a financial investment company is shopping for a new laptop. He has narrowed his choices down to four computers. Each laptop is equipped with a different central processing unit (CPU) and he wants to make sure he chooses the fastest one. (a) Explain which processors would perform the fastest. (10 marks) (b) Discuss the options of this executive based on his priorities. (15 marks)