fa
Feedback
Python Codes Basic to Advance

Python Codes Basic to Advance

رفتن به کانال در Telegram
2 813
مشترکین
اطلاعاتی وجود ندارد24 ساعت
-47 روز
-2430 روز
آرشیو پست ها
/py set1 = {1, 2, 3} set2 = {3, 4, 5} intersection_set = set1.intersection(set2) print(intersection_set)

my_set = {1, 2, 3} my_set.remove(3) print(my_set)

/py my_set = {1, 2, 3} my_set.remove(3) print(my_set)

""" Pattern:   * * * *    * * *     * *      *      *     * *    * * *   * * * * """ n = int(input("Enter no.: ")) for i in range(1, n):           print(" " * i , "* " * (n-i))           for i in range(1, n):           print(" " * (n - i ), "* " * i)                            # @Python_Codes_Pro

my_set = {1, 2, 3} if 3 in my_set:     print("The item is in the set.") # discussion @bca_mca_btech

set1 = {1, 2, 3} set2 = {3, 4, 5} union_set = set1.union(set2) print(union_set)

/py set1 = {1, 2, 3} set2 = {3, 4, 5} union_set = set1.union(set2) print(union_set)

my_set = {1, 2, 3} for item in my_set:     print(item)

/py my_set = {1, 2, 3} for item in my_set:     print(item)

If you want any bot which will run codes in your group you can freely use @CodeCompiler_Bot 😁😁😁😁 keep studying....

How good 😁this ?

""" Pattern:   * * * *    * * *     * *      *      *     * *    * * *   * * * * """ n = int(input("Enter no.: ")) for i in range(1, n):           print(" " * i , "* " * (n-i))           for i in range(1, n):           print(" " * (n - i ), "* " * i)                            # @Python_Codes_Pro

/py """ Pattern:   * * * *    * * *     * *      *      *     * *    * * *   * * * * """ n = int(input("Enter no.: ")) for i in range(1, n):           print(" " * i , "* " * (n-i))           for i in range(1, n):           print(" " * (n - i ), "* " * i)                            # @Python_Codes_Pro

my_set = {1, 2, 3} if 3 in my_set: print("The item is in the set.")

/py my_set = {1, 2, 3} if 3 in my_set: print("The item is in the set.")

You know which languages ?
Anonymous voting

What know which languages ?
Anonymous voting

Ye directly run karne ka way kaisa laga ?

set1 = {1, 2, 3} set2 = {3, 4, 5} union_set = set1.union(set2)

my_set = {1, 2, 3} for item in my_set: print(item)