find the output for the following python code
(1)
salary=
('1000','1500','800','700','1200')
print(max(salary))
(2)
salary=
(1000,1500,800,700,1200)
print(max(salary2))
are the output for the above codes are same? if not ,why?
Answers
Answered by
1
Answer:
1) 800
2) error as salary2 is not defined
For this type of python question you can use pydriod3 app on your phone. for python idle.....hope this helps you... mark as brainliest
Answered by
0
Answer:
DeptID EmpName Salary
Engg Sam 1000
Engg Smith 2000
HR Denis 1500
HR Danny 3000
IT David 2000
IT John 3000
I need to make a query that find the highest salary for each department.
share improve this question follow
Similar questions