Posted at 03:25h
in
archives
by admin
Problem Description
We have learn how to use stack to solve some problems and how to convert decimal number into binary number:
Please write the program to convert a given decimal number into a binary number by using the following steps for python coding solutions:
takes an...
Problem Description
We have learn how to use stack to solve some problems and how to convert decimal number into binary number:
Please write the program to convert a given decimal number into a binary number by using the following steps for python coding solutions:
takes an...
Posted at 03:15h
in
Uncategorized
by admin
Please make some modifications of the following code. Make ball appears on the top when the ball reaches the bottom, and appears at bottom when the ball reaches the top.
sss...
Posted at 03:11h
in
Uncategorized
by admin
Question.
Write a program to print a multiplication table (a times table). At the start, it should ask the user which table to print. The output should look something like this:
Sample Input:
Which multiplication table would you like? 5
Sample Output:
Here’s your table:
5 x 1 = 5
5 x 2 =...
Posted at 03:07h
in
Uncategorized
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.
Sample Input...
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:...