Open
Show file tree
Hide file tree
Changes from all commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Failed to load files.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
total = int(input('How much money do you have in your pocket\n'))

# ✅ ↓ YOUR CODE HERE ↓ ✅
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
user_input = int(input('How many people are coming to your wedding?\n'))

# ❌ ⬆ DON'T CHANGE THE CODE ABOVE ⬆ ❌


if user_input <= 50:
price = 4000
# ✅ ↓ Your code here ↓ ✅


# ❌ ↓ DON'T CHANGE THE CODE BELOW ↓ ❌
print('Your wedding will cost '+str(price)+' dollars')
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
import random

def get_randomInt():
# ✅ ↓ CHANGE ONLY THIS ONE LINE BELOW ↓ ✅
random_number = random.random()
return random_number

print(get_randomInt())
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
def is_odd(my_number):
return (my_number % 2 != 0)


def my_main_code():
# ✅ ↓ Your code here ↓ ✅
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
total = int(input('How much money do you have in your pocket\n'))

# ✅ ↓ YOUR CODE HERE ↓ ✅
print(total)