Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

PYHTON CODE LANUAGE P 1 . 1 Write a program that prints a greeting of your choice, perhaps in a language other than English. P

PYHTON CODE LANUAGE P1.1Write a program that prints a greeting of your choice, perhaps in a language other than English.
P1.2Write a program that prints the sum of the first ten positive integers, 1+2+...+10.
P1.3Write a program that prints the product of the first ten positive integers, 1\times 2\times ...\times 10.(Use * to indicate multiplication in Python.)
P1.4Write a program that prints the balance of an account after the first, second, and third year. The account has an initial balance of $1,000 and earns 5 percent interest per year.
P1.5Write a program that displays your name inside a box on the screen, like this:
Do your best to approximate lines with characters such as |-+.
P1.6Write a program that prints your name in large letters, such as
**************
**********
*****************
*************
*********
P1.7Write a program that prints a face similar to (but different from) the following:
/////
+"""""+
(| o o |)
|^|
|'-'|
+-----+
P1.8Write a program that prints an imitation of a Piet Mondrian painting. (Search the Internet if you are not familiar with his paintings.) Use character sequences such as @@@ or ::: to indicate different colors, and use - and | to form lines.
P1.9Write a program that prints a house that looks exactly like the following:
+
++
++
+-----+
|.-.|
||||
+-+-+-+
P1.10Write a program that prints an animal speaking a greeting, similar to (but different from) the following:
/\_/\-----
('')/ Hello \
(-)< Junior |
|||\ Coder!/
(__|__)-----
P1.11Write a program that prints three items, such as the names of your three best friends or favorite movies, on three separate lines.
P1.12Write a program that prints a poem of your choice. If you dont have a favorite poem, search the Internet for Emily Dickinson or e e cummings.
P1.13Write a program that prints the United States flag, using * and = characters.
Business P1.14Write a program that prints a two-column list of your friends birthdays. In the first column, print the names of your best friends; in the second column, print their birthdays.
Business P1.15In the United States there is no federal sales tax, so every state may impose its own sales taxes. Look on the Internet for the sales tax charged in five U.S. states, then write a program that prints the tax rate for five states of your choice.
Sales Tax Rates
-----------
Alaska: 0%
Hawaii: 4%
...
Business P1.16The ability to speak more than one language is a valuable skill in todays labor market. One of the basic skills is learning to greet people. Write a program that prints a two-column list with the greeting phrases shown in the following table; in the first column, print the phrase in English, in the second column, print the phrase in a language of your choice. If you dont speak any language other than English, use an online translator or ask a friend.
List of Phrases to Translate
Good morning.
It is a pleasure to meet you.
Please call me tomorrow.
Have a nice day!

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions