1. Create a list of strings.
2. Read 5 strings from the keyboard and add them to the list.
3. Using a loop, find the shortest string in the list.
4. Display the string.
5. If there is more than one, display each on a new line.
Expressing ourselves more concisely
- 13
Locked
Comments (1)
- Popular
- New
- Old
You must be signed in to leave a comment
Krig Raseri
3 September 2022, 06:55
I did a super yucky potato code for this because I was overthinking it, it achieved the task but still failed for all tests.
0