ABIX_Edukacja

fun_Return_list

Mar 18th, 2020
318
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.14 KB | None | 0 0
  1. def funkcja():
  2.     lista = [1, 3, 5]
  3.     lista.append(14)
  4.     return lista
  5.  
  6. wynik = funkcja()
  7. print(wynik)
  8. print( type(wynik) == list )
Advertisement
Add Comment
Please, Sign In to add comment