Question: CODING IN PYTHON: Please help with Python I want to see written code, not screen shots, please.. 1. Write a Python program which accepts the

CODING IN PYTHON: Please help with Python I want to see written code, not screen shots, please..

1. Write a Python program which accepts the user's first and last name and print them in reverse order with a space between them.

2. Write a Python program which accepts the radius of a circle from the user and compute the area.

NOTE: Radius is defined as a line from the center of the circle to the outside border of the circle.

3. Write a Python program which accepts a sequence of comma-separated numbers from user and generate a list and a tuple with those numbers.

Python list: A list is a container which holds comma separated values (items or elements) between square brackets where items or elements need not all have the same type. In general, we can define a list as an object that contains multiple data items (elements). The contents of a list can be changed during program execution. The size of a list can also change during execution, as elements are added or removed from it.

Python tuple: A tuple is container which holds a series of comma separated values (items or elements) between parentheses such as an (x, y) co-ordinate. Tuples are like lists, except they are immutable (i.e. you cannot change its content once created) and can hold mix data types.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!