Skip to content
Snippets Groups Projects
Commit f0af08d5 authored by Samuel GAIST's avatar Samuel GAIST
Browse files

[doc][algorithms] Fix print statements

parent 6cf11ed6
No related branches found
No related tags found
2 merge requests!32Merge development branch 1.6.x,!18Py3 compatibility
...@@ -301,16 +301,16 @@ or by iterating over the list: ...@@ -301,16 +301,16 @@ or by iterating over the list:
# 'inputs' is the list of inputs of the processing block # 'inputs' is the list of inputs of the processing block
print inputs['labels'].data_format print(inputs['labels'].data_format)
for index in range(0, inputs.length): for index in range(0, inputs.length):
print inputs[index].data_format print(inputs[index].data_format)
for input in inputs: for input in inputs:
print input.data_format print(input.data_format)
for input in inputs[0:2]: for input in inputs[0:2]:
print input.data_format print(input.data_format)
Additionally, the following method is useable on a **list of inputs**: Additionally, the following method is useable on a **list of inputs**:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment