learn-python icon indicating copy to clipboard operation
learn-python copied to clipboard

πŸ“š Playground and cheatsheet for learning Python. Collection of Python scripts that are split by topics and contain code examples with explanations.

Results 35 learn-python issues
Sort by recently updated
recently updated
newest added

Added text to the comment to aid in better understanding the user input.

using UnityEngine; public class Weapon : MonoBehaviour { public GameObject bulletPrefab; public Transform firePoint; void Update() { if (Input.GetButtonDown("Fire1")) { Shoot(); } } void Shoot() { Instantiate(bulletPrefab, firePoint.position, firePoint.rotation); }...

modified the test_generators.py to add more functions and enhanced code for learning, Thank you

This pull request addresses minor issues which focus on code readability Use descriptive variable names Employ proper commenting

this request contains some python training of changing and fixing identified problems in the python scripts for more robust scripts.