Is their any way to hide some conditions in our code | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 8

Is their any way to hide some conditions in our code

If(any condition) That applicable in code But not seen in code Is their any way?

28th Dec 2018, 7:11 AM
Mr_¢hito•°•
Mr_¢hito•°• - avatar
1 Answer
+ 2
You can for example put self-defined functions in a separate file and import that file into your main file. Then you call your self-defined function: If condition: my_secretive_function() Of course you could simply open that other file to read the code anyway. ;)
28th Dec 2018, 10:35 AM
HonFu
HonFu - avatar