0
Writing loops in files
I'm trying to print a loop in a text file, but I always got 'invalid syntax'. This is the basic loop: https://code.sololearn.com/c40olRaJSd2x/?ref=app
1 Odpowiedź
+ 1
Defining a function in python
Syntax
Example
Calling a function- arguments
https://www.tutorialspoint.com/python/python_functions.htm
def main():
x=0
while x<100:
print(x)
x=x+1
main()