Automated grading of homework assignments and tests
- fork this repository
- solve the task
- commit with proper message
Return an optional string of length eight.
Example 1:
Input:
Output: "12345678"Example 2:
Input:
Output: "aaaazzzz"Constraints:
Return a string consisting only of uppercase.
Example 1:
Input:
Output: "CODESCHOOLUZ"Example 2:
Input:
Output: "PYTHONUZ""*" Return a string that consists of only this character and is five in length.
Example 1:
Input:
Output: "*****"Given the string "s". add a double quote on both sides, beginning and end.
Example 1:
Input:
Output: "s"s1 and s2 strings are given. return the result by adding a space (" ") between them.
Example 1:
Input: s1="python" s2="coder"
Output: "python coder"Example 2:
Input: s1="code" s2="school"
Output: "code school"s string is given. repeat it n times and return the resulting string.
Example 1:
Input: s="code" n=3
Output: "codecodecode"Example 2:
Input: s="uz" n=2
Output: "uzuz"Given two strings, first_name and last_name, return a single string in the format "last, first".
Example 1:
Input: fist='Otabek' last='Tursunov'
Output: "Tursunov, Otabek"Given three integers, x1, x2, and x3, return the "[x1, x2, x3]" string.
Example 1:
Input: x1=1 x2=2 x3=3
Output: "[1, 2, 3]"Given three integers, x, y, return the "(x+y)*2={ifoda natijasi}" string.
Example 1:
Input: x=4 y=6
Output: "(4+6)*2=20"- don't copy other solutions or any solution
- don't remove comments