Automated grading of homework assignments and tests
- fork this repository
- solve the task
- commit with proper message
A str of several words is given. All letters are lowercase. Return all letters to uppercase.
Example 1:
Input: a="google is a search engine"
Output: "GOOGLE IS A SEARCH ENGINE"
Constraints:
- 2 <= length(a) <= 10^5
A str of several words is given. All letters are lowercase. Return all letters to uppercase.
Example 1:
Input: a="apple is a fruit"
Output: "APPLE IS A FRUIT"
Constraints:
- 2 <= length(a) <= 10^5
A variable of type str is given. make sure all letters are lowercase.
Example 1:
Input: a="IPHONE IS A MOBILE"
Output: false
Constraints:
- 2 <= length(a) <= 10^5
A variable of type str is given. make sure all letters are uppercase.
Example 1:
Input: a="IPHONE IS A MOBILE"
Output: True
Example 2:
Input: a="Mobile"
Output: False
Constraints:
- 2 <= length(a) <= 10^5
A variable of type str and type of int are given. check that string length is equal to int if not equal make it equal with ' ' this string then return that string else return that string itself
Example 1:
Input: s="mobile development", n=20
Output: "Mobile development "
Example 2:
Input: a="python programming"
Output: "Python programming"
Constraints:
- 2 <= length(a) <= 10^5
A variable of type str is given. Check that it is empty or not.
Example 1:
Input: a=""
Output: True
Example 2:
Input: a="2022ABC"
Output: False
Constraints:
- 2 <= length(a) <= 10^5
- don't copy other solutions or any solution
- don't remove comments