Hello Gurus,
I need some help with this experience that can help direct me to completing this exercise, however I need someone that can help me really understand the best approach to tackling this exercise.
1. write a program to collect input from the user for two complete addresses (name, street number, street name, city, state, and zip code) from the command-line prompt. You will first need to create variables to store the addresses in the variables, and then create the appropriate built-in functions to capture the input from the addresses from the user. The street number and zip must be represented in the system as numerical values. You will accomplish this using what you’ve learned in the first few weeks of this class. Create a program that captures user input and uses variables to store the addresses to be printed.
(This is what I think I need to do is create Two complete addresses:
Name, street number, street name, city, state, and zip code
Need to create variable to store the addresses in the variables, create the appropriate built-in functions to capture the input from addresses from the user.
The street number and zip much be represented in the system as numerical values.)
2.) Print a box like the one below.
*******************
* *
* *
*******************
I have part of this one but not sure how to complete it. This is what I have so far. I'm not sure how to close out the rectangle on the right side.
print(' * ' * 10)
print(' * ' * 1)
print(' * ' * 1)
print(' * ' * 10)
3.) Write a program that prints a giant letter A like the one below. Allow the user to specify how large the letter should be.
*
* *
* * * * *
* *
* *
Not really sure about this one.
Thanks in advance for your help and support. I appreciate all of your help! (Also I'm not sure why it's not keeping the format for the rectangle and the BIG A)
Regards,
Linda
I need some help with this experience that can help direct me to completing this exercise, however I need someone that can help me really understand the best approach to tackling this exercise.
1. write a program to collect input from the user for two complete addresses (name, street number, street name, city, state, and zip code) from the command-line prompt. You will first need to create variables to store the addresses in the variables, and then create the appropriate built-in functions to capture the input from the addresses from the user. The street number and zip must be represented in the system as numerical values. You will accomplish this using what you’ve learned in the first few weeks of this class. Create a program that captures user input and uses variables to store the addresses to be printed.
(This is what I think I need to do is create Two complete addresses:
Name, street number, street name, city, state, and zip code
Need to create variable to store the addresses in the variables, create the appropriate built-in functions to capture the input from addresses from the user.
The street number and zip much be represented in the system as numerical values.)
2.) Print a box like the one below.
*******************
* *
* *
*******************
I have part of this one but not sure how to complete it. This is what I have so far. I'm not sure how to close out the rectangle on the right side.
print(' * ' * 10)
print(' * ' * 1)
print(' * ' * 1)
print(' * ' * 10)
3.) Write a program that prints a giant letter A like the one below. Allow the user to specify how large the letter should be.
*
* *
* * * * *
* *
* *
Not really sure about this one.
Thanks in advance for your help and support. I appreciate all of your help! (Also I'm not sure why it's not keeping the format for the rectangle and the BIG A)
Regards,
Linda
