Python Forum
What would be a substitute for "::"
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
What would be a substitute for "::"
#2
If slicing is allowed for the object,  you can use it directly, e.g.:

'a string'[slice(None, None, 2)]
Reply


Messages In This Thread
What would be a substitute for "::" - by hhydration - Oct-10-2020, 10:08 PM
RE: What would be a substitute for "::" - by scidam - Oct-10-2020, 11:21 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Hotel problem from substitute. Owen89Northam 3 3,091 Jun-28-2018, 10:58 PM
Last Post: Zombie_Programming

Forum Jump:

User Panel Messages

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