Arkanium77

Untitled

Mar 25th, 2019
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.40 KB | None | 0 0
  1. def fun(*args):
  2.     if not args:
  3.         return "?"
  4.     s=str(args[0])
  5.     for i in args[1:]:
  6.         s+=" -> "+str(i)
  7.     return s
  8.    
  9. def yolo(y=11):
  10.     return y//10,y%10
  11.  
  12. ##############################################
  13.    
  14. print(fun(12,13,2,3,5,140,"FFFUUU",0,False,1))
  15. print(fun(134))
  16. print(fun())
  17.  
  18.  
  19.  
  20.  
  21.  
  22. a,b=yolo(132)
  23.  
  24. print("132 // 10 =",a,"\n132 % 10 =",b,)
  25.  
  26. a,b=yolo()
  27.  
  28. print("11 // 10 =",a,"\n11 % 10 =",b,)
Advertisement
Add Comment
Please, Sign In to add comment