arguments tag

3 questions


1 answers
92 views
0
What does it mean if an argument has a colon when defining a function?

I'm playing with checkiO and the function presented is It also says def data (password: str): It also says def data (password: str) -> str:I'm just a beginner at Python, so I only know that you spe...


1 answers
73 views
0
Difference between foo(void) and foo() in C/C++

How are these two different?If the two are the same, why is there a void factor?

1 years ago

2 answers
81 views
0
I would like to ask you about the use of arguments objects and conditional expressions in terms of the three terms.

Figure 1. Figure 2.Like Figure 1If the selector text (e.g. -=-) does not come like a red square, I changed/added the source code as shown in Figure 2,I wonder why you used the conditional expression.[...


© 2024 OneMinuteCode. All rights reserved.