Answers for "how to put 2 code n 1 line in python"

1

python code in 1 line

exec("try: \n \t if sam[0] != 'harry': \n \t\t print('hello',  sam) \nexcept: pass")
Posted by: Guest on December-26-2020
0

how to put 2 code n 1 line in python

x = 1; y = x + x; print(x + y)
Posted by: Guest on October-22-2021

Python Answers by Framework

Browse Popular Code Answers by Language