Posted at 17:40h
in
Uncategorized
by admin
Question:
Create a PWD(Password) class it will contain the following methods:
__init__
to create a password object by passing one argument into it
validate
to check the validity of password input by users. it need to use the following method:
checkLetter: At least 1 letter between [a-z] and 1 letter between[A-Z].
checkNumber:...
Posted at 02:43h
in
Uncategorized
by admin
Question:
Eric works in a door mat manufacturing company. One day, he designed a new door mat with the
following specifications:
◦ Mat size must be A x B. (A is an odd natural number, and B is 3 times A.)
◦ The design should have 'WELCOME' written in...
Posted at 02:38h
in
Uncategorized
by admin
Question 1.
Use EasyGui to write a program to convert temperatures from Fahrenheit to Celsius. The formula for that is: Celsius = 5 / 9 * (Fahrenheit - 32). Use GUI input and output. You need to create a easygui enterbox to ask Fahrenheit, then...
Problem DescriptionTudor is a contestant in the Canadian Carpentry Challenge (CCC). To win the CCC, Tudor must demonstrate his skill at nailing wood together to make the longest fence possible using boards. To accomplish this goal, he has N pieces of wood. The i th...
Posted at 02:22h
in
Uncategorized
by admin
Question:
Write a method that returns an array of 10 even number number by following the below stated rules:
If the input number is an even start from that number and print the next 10 even numbers starting from that number
if the input number is...