eitaa logo
آموزش پایتون
63 دنبال‌کننده
244 عکس
106 ویدیو
52 فایل
ارتباط: https://eitaa.com/joinchat/956171922Cb501d5a32f لینک همین کانال: @LearnPythonIcy لینک کانال تلگرام: https://t.me/learnpythonicy
مشاهده در ایتا
دانلود
dir(int) 👇output: ['abs', 'add', 'and', 'bool', 'ceil', 'class', 'delattr', 'dir', 'divmod', 'doc', 'eq', 'float', 'floor', 'floordiv', 'format', 'ge', 'getattribute', 'getnewargs', 'gt', 'hash', 'index', 'init', 'init_subclass', 'int', 'invert', 'le', 'lshift', 'lt', 'mod', 'mul', 'ne', 'neg', 'new', 'or', 'pos', 'pow', 'radd', 'rand', 'rdivmod', 'reduce', 'reduce_ex', 'repr', 'rfloordiv', 'rlshift', 'rmod', 'rmul', 'ror', 'round', 'rpow', 'rrshift', 'rshift', 'rsub', 'rtruediv', 'rxor', 'setattr', 'sizeof', 'str', 'sub', 'subclasshook', 'truediv', 'trunc', 'xor', 'bit_length', 'conjugate', 'denominator', 'from_bytes', 'imag', 'numerator', 'real', 'to_bytes'] |
🍬Integer Functions Here’s a summary of the key functions specifically related to integers, as well as some additional mathematical and numerical functions that may be useful: در اینجا خلاصه ای از توابع کلیدی مربوط به اعداد صحیح و همچنین برخی از توابع ریاضی و عددی اضافی که ممکن است مفید باشند آورده شده است: 🔐Key Integer Functions ( توابع کلیدی عدد صحیح) 1. Conversion Functions ( توابع تبدیل) - int() - float() - str() - bin() - oct() - hex() - from_bytes() - to_bytes() 2. Mathematical Functions ( توابع ریاضی) - abs() - pow() - round() - max() - min() - sum() - divmod() - len() (for lists, strings, etc., but can be used with collections of integers) 3. Boolean and Logical Operations (عملیات بولی و منطقی) - all() - any() - isinstance() 4. Iterators and Functional Programming (تکرار کننده ها و برنامه نویسی تابعی) - filter() - map() 5. Character Functions (توابع کاراکتری) - chr() - ord() |