Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
little exercise
#4
OK, that is simple but nevertheless working approach.
Do you know how to access list elements by index? (look here)
Then, try to describe in plain language how you will approach  "the trap" :-) - i.e. to print the first element of the output.
Reply


Messages In This Thread
little exercise - by haye - Sep-20-2017, 04:31 PM
RE: little exercise - by buran - Sep-20-2017, 04:39 PM
RE: little exercise - by haye - Sep-20-2017, 04:45 PM
RE: little exercise - by buran - Sep-20-2017, 05:56 PM
RE: little exercise - by haye - Sep-21-2017, 09:37 AM
RE: little exercise - by buran - Sep-21-2017, 09:51 AM
RE: little exercise - by haye - Sep-21-2017, 09:55 AM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020