Problem DescriptionJack is trying to invent some new words from old words. For every consonant (consonants are the letters except for a, e, i, o, u) in the old word is replaced by three letters, in the following order:
the consonant itself;
the vowel closest to the...
Posted at 04:27h
in
archives
by admin
Question 1:
A soccer team is looking for girls from ages 10 to 12 to play on their team. Write a program to ask the user’s age and if male or female (using “m” or “f”). Display a message indicating whether the person is eligible to play on the team.
Question...
Posted at 02:09h
in
Uncategorized
by admin
Question:
Write a Python program (either use function or object method) to check the validity of password input by users.
Validation :
At least 1 letter between [a-z] and 1 letter between[A-Z].
At least 1 number between [0-9].
At least 1 character from [$#@].
Minimum length 6 characters.
...
Posted at 02:04h
in
Uncategorized
by admin
Problem DescriptionKen is working for the secret agency. He is going to send a secret message that encodes UPPERCASE words by shifting their letters forward.
Shifting a letter by S positions means to go forward S letters in the alphabet. For example, shifting B by S...
Question 1:(please use function that return a value)
Write a program to display information to a driver based on his/her speed according to the following table:
km/h over the limit
Fine
1 to 20
$100
21 to 30
$270
31 or above
$500
Sample Input 1:
Enter the speed limit: 40
Enter the recorded speed of the...
Problem Description
An artist wants to construct a sign whose letters will rotate freely in the breeze. In order to do this, she must only use letters that are not changed by rotation of 180 degrees: I, O, S, H, Z, X, and N.
Write a program...