Write a Python code of a program that reads a candidate’s ielts score and prints out the corresponding CEFR level for that band score. The score ranges and corresponding CEFR level are shown in the table below.
(Hint: This problem can be solved in two ways: top-down and bottom-up.)
Example 1:
Sample Input:
IELTS Score: 6
Sample Output:
CEFR Level: B2
Write a python program that takes the weight of luggage from the user and prints the total amount the user needs to pay according to the given conditions:
WAP which displays a given character, n number of times, using a function. When the n value is not provided, it should print the given character 80 times. When both the character and n value is not provided, it should print *’character 80 times. [Write the above program in two ways:- -using function overloading. -using default arguments.]
Draw interfaces for suppliers of bulling construction desktop application (with source code)
Draw a flowchart that will input values for A and B. Compare two values inputted and print which of the values is higher including the remark “Higher”.
Women Population
In a town, the percentage of men is 52 and the rest are women(W). The total population(T) of town is given as input. Write a program to print the total number of women in the town.
Input
The first line of input is an integer T.
Output
The output should be an integer representing the total number of women in the town.
Given total population
80000. Then the number of women should be 80000 x 48 / 100 = 38400 So the output is 38400.
Sample Input 1
80000
Sample Output 1
38400
Sample Input 2
100000
Sample Output 2
48000
First & Last Digits
Given a four-digit number N as input. Write a program to print first and last digit of the number.
Input
The input is a four-digit number N.
Output
Print the first digit in the first line and the last digit in the second line.
Sample Input 1
1456
Sample Output 1
1
6
Sample Input 2
9821
Sample Output 2
9
1