Computer Science, asked by YAMUNAM, 4 months ago

5. A company decided to give bonus of 5% to employee if his/her year of service is more than 5 years. Ask user for their salary and year of service and print the net bonus amount.

‼️‼️write a python program


don't copy!!!​

Answers

Answered by mukherjeearjun2003
0

Explanation:

2

3

4

5

6

7

8

9

10

11

12

number_values = input("Provide a sequence of numbers separated by commas: ")

list_number_values = number_values.split(",")

tuple_number_values = tuple(list_number_values)

print(f"\nThis is a printed list of the number values: ")

print(f"\t{list_number_values} ")

print("\nThis is a printed tuple of the number values: ")

print(f"\t{tuple_number_values} ")

print("""\nAt first glance you may notice the list and tuple look the same,

but the list uses brackets and the tuple uses parenthesis.""")

User Input:

Similar questions