注册一亩三分地论坛,查看更多干货!
您需要 登录 才可以下载或查看附件。没有帐号?注册账号 
x
1ST ROUND - both python coding and system design question is in first round [1hr]
First given below python questions via coder pad
Question 1
Write a function that takes two arguments, n (int) and message (str),
and prints the message n times, with a blank line between each.
Question 2
Write a function that takes a list of numbers and returns a new list
with each element squared, in reversed order.
e.g. [1, 2, 3] -> [9, 4, 1]
Question 3
Write a function that takes an integer n and prints the numbers 1
through n, one per line, with these substitutions:
|