- 2
Rearrange the code to print "Welcome" if the script is imported, and "Hi" if it is not imported. print("Welcome") else: p
Answer me this question guys..
5 ответов
+ 2
if __name__== "__main__":
print("Hi")
else:
print("Welcome")
This is the correct answer
0
Hmmm
0
if __name__== "__main__":
print("Hi")
else:
print("Welcome")
0
Answer is
```
if __name__== "__main__":
print("Hi")
else:
print("Welcome")
```
- 1
Post the code