underscore tag

3 questions


1 answers
40 views
0
What is the function of an underline (_) in Python?

I saw this code on the Internet, and I wonder what __ is doing with for_in instead of the string _.mylist = [1,1]if True: for _ in mylist: print(hello world!)hello worldhello world

2 years ago

1 answers
35 views
0
Underbar "_" Calling Questions

if __name__ == __main__:After the under bar comes out twice, the word name comes outWhen you explain to someone,Underba, underba, underba, underbar, underbarOr I wonder if there is a separate name for...

2 years ago

1 answers
115 views
0
What object is _(underlined) before the name?

What's the difference between one underlined object name and two underlined object names?Why are you using it?Are functions and variables used in the same sense?


© 2024 OneMinuteCode. All rights reserved.