Forgot Collaboration Statement
This commit is contained in:
+1
-1
@@ -6,7 +6,7 @@
|
||||
# Description:
|
||||
# Getting to know someone in my major programatically
|
||||
# Collaboration:
|
||||
# N/A
|
||||
# I discussed this homework with no one
|
||||
|
||||
name = input("Hi friend, What's your name? ")
|
||||
print("Hi, " + name + " I'm happy to meet you\nLet's go get ice cream")
|
||||
+1
-1
@@ -6,7 +6,7 @@
|
||||
# Description:
|
||||
# Code for purchasing ice cream for myself and two friends.
|
||||
# Collaboration:
|
||||
# N/A
|
||||
# I discussed this homework with no one
|
||||
|
||||
price = float(input("How much is this ice cream bar? "))
|
||||
total_cost = 3*price*1.055
|
||||
|
||||
+1
-1
@@ -6,6 +6,6 @@
|
||||
# Description:
|
||||
# Program to ask user for number and give square and cube
|
||||
# Collaboration:
|
||||
# N/A
|
||||
# I discussed this homework with no one
|
||||
|
||||
a = float(input("Enter a value:"));print("The square is:",a**2,"\nThe cube is:", a**3)
|
||||
+1
-1
@@ -6,6 +6,6 @@
|
||||
# Description:
|
||||
# Prompt user for number 7 times
|
||||
# Collaboration:
|
||||
# N/A
|
||||
# I discussed this homework with no one
|
||||
|
||||
a=input("Enter a value:");b=input("Enter a value:");c=input("Enter a value:");d=input("Enter a value:");e=input("Enter a value:");f=input("Enter a value:");g=input("Enter a value:");print("The last number was:", g)
|
||||
Reference in New Issue
Block a user