Header Ads

Responsive Ads Here

Step Argument

 Step Argument



machine = "Computer"

print(machine[::])

# variable[start argument: end argument + 1: step argument]
# writing 1 on step argument doesn't make any change
# stop argument - stop indexing + 1

Powered by Blogger.