Community
All Features
Overview of all exisiting features.
Arcade
Play various games in the arcade.
Awards
Earn awards for different tasks.
Bug Tracker
Report site related bugs the right way.
Credits
Everything related to credits.
Groups
A list of user run groups you can join.
Help Center
Official regulations and help documents.
Member List
A list of all registered members.
Latest Announcements
Staff Recruitment | September 2022
Changelog #34 - 03/04/2022
April Update - Index Redesign and Unlock Content Experiment
Support
Shop
Upgrade
Log In
Create Account
NulledBB
General
Technology & Development
Frontend Development
I want algorithm in python
Create an account
Login
PrivateAlps.net - Offshore Cloud Services | VPS/RDP/VPN - Dedicated Servers - Webhosting - TOR Services - Auto Deploy
ADULTSLAYER.STORE 💎 #1 PORN SHOP | 700+ Hot Products: Brazzers, Teamskeet, Pornhub, NaughtyAmerica, Many More! | 💸 Secure PayPal & Card Payments | Satisfaction Guaranteed! 🔥
Frontend Development
I want algorithm in python
Submitted by morgana72,
17-01-2022, 10:42 AM
, Thread ID: 231390
Thread Closed
Reply
17-01-2022, 10:42 AM
#1
I want an algorithm in python
return even number on the function
please help me with that
More
RE: I want algorithm in python
17-01-2022, 01:19 PM
#2
# list of numbers
list1 = [10, 21, 4, 45, 66, 93]
# iterating each number in list
for num in list1:
# checking condition
if num % 2 == 0:
print(num, end=" ")
Input: list1 = [2, 7, 5, 64, 14]
Output: [2, 64, 14]
Input: list2 = [12, 14, 95, 3]
Output: [12, 14]
More
RE: I want algorithm in python
13-02-2022, 09:15 AM
#3
if you are a programmer you can use these website, git.ir,
https://nulling.net/
, w3schools.com
More
1
morgana72
RE: I want algorithm in python
OP
15-02-2022, 08:26 AM
#4
thanks a lot, this the best website
More
RE: I want algorithm in python
20-02-2022, 01:25 PM
#5
def even(number):
return number%2==0 #returns True if the number is even
More
Users browsing this thread: 2 Guest(s)