Could anyone help me with homework on Python lol

Dehuman
by Dehuman · 4 posts
9 years ago in Python
Posted 9 years ago · Author
Subject basically..
Posted 9 years ago · Author
I'd say basic python programming stuff, I don't pay much attention in class smh. http://prntscr.com/8luqbt
Posted 4 years ago
# 1. Python program to print odd Numbers between 1 to 99

start, end = 1, 99

# iterating each number in list
for num in range(start, end)

# checking condition
if num % 2 != 0
print(num, end = )


# 2. Python program to print multiples of 3 from 300 down to 3
print "multiples of 3 from 300 down to 3 are: "

# loop to print numbers
for i in range(300,3,-1):
print i * 3

-- Mon Mar 30, 2020 11:57 am --

@Dehuman


# 1. Python program to print odd Numbers between 1 to 99

start, end = 1, 99

# iterating each number in list
for num in range(start, end):

# checking condition
if num % 2 != 0:
print(num)
num = num + 1

-- Mon Mar 30, 2020 11:58 am --

@Dehuman


# 2. Python program to print multiples of 3 from 300 down to 3
print "multiples of 3 from 300 down to 3 are: "

# loop to print numbers for i in range(300,3,-1):
print(i * 3)

Create an account or sign in to comment

You need to be a member in order to leave a comment

Sign in

Already have an account? Sign in here

SIGN IN NOW

Create an account

Sign up for a new account in our community. It's easy!

REGISTER A NEW ACCOUNT