Apr-12-2019, 10:27 AM
Hello,
after input and some evaluation I can reach the below list:
[1, 5, 7, 9, 5, 6, 20, 30]
for every number in that list, first number is price and the second number is the quality:
so price is: [1, 7, 5, 20] and the quality is :[5, 9, 6, 30]
i am going to find out the condition lower price and the best quality:
and print out 'its Ok' or 'its not ok'
for example in the upper list 'its not ok'
but for the below list the condition is 'ok'
[1,10,7,3]
the focus of the problem would be using while loop
after input and some evaluation I can reach the below list:
[1, 5, 7, 9, 5, 6, 20, 30]
for every number in that list, first number is price and the second number is the quality:
so price is: [1, 7, 5, 20] and the quality is :[5, 9, 6, 30]
i am going to find out the condition lower price and the best quality:
and print out 'its Ok' or 'its not ok'
for example in the upper list 'its not ok'
but for the below list the condition is 'ok'
[1,10,7,3]
the focus of the problem would be using while loop