#josecodetech resultados de búsqueda
💡Tip #52 en #Python def mostrar_datos(**kwargs): # kwargs se convierte en un diccionario for clave, valor in kwargs.items(): print(f"{clave}: {valor}") mostrar_datos(nombre="Jose", edad=30, ciudad="Madrid") 🎥 youtube.com/@josecodetech/ #JoseCodeTech #Programacion #Code
💡 Tip #51 en #Python ¿No sabes cuántos argumentos recibirá tu función? ¡Usa *args para aceptarlos todos! def sumar_todo(*args): # args se convierte en una tupla con todos los valores return sum(args) print(sumar_todo(1, 2, 3, 4)) print(sumar_todo(10, 20)) #JoseCodeTech
Loading...
Something went wrong.
Something went wrong.
United States Trends
- 1. Brian Cole 22.2K posts
- 2. #Kodezi 1,094 posts
- 3. #TrumpAffordabilityCrisis 2,420 posts
- 4. #NationalCookieDay 1,395 posts
- 5. Tong 18.2K posts
- 6. Woodbridge 4,536 posts
- 7. Eurovision 55.4K posts
- 8. Price 259K posts
- 9. The FBI 120K posts
- 10. Walter Payton 11.6K posts
- 11. TPUSA 73.1K posts
- 12. Merry Christmas 66.6K posts
- 13. Rwanda 25.4K posts
- 14. All-Big 1,905 posts
- 15. Happy Birthday Dan 3,203 posts
- 16. Earl Campbell 4,358 posts
- 17. soobin 74.9K posts
- 18. #WPMOYChallenge 22.2K posts
- 19. #thursdayvibes 3,595 posts
- 20. GLOWING FAYE AT RED SEA FILM25 112K posts