F-Strings

name = input("Enter your name: ")
print(f"Hello {name}")


F-Strings

name = input("Enter your name: ")
print(f"Hello {name}")

Enter your name:  

F-Strings

name = input("Enter your name: ")
print(f"Hello {name}")

Enter your name: Willie Wildcat

F-Strings

name = input("Enter your name: ")
print(f"Hello {name}")

Enter your name: Willie Wildcat
Hello Willie Wildcat

F-Strings

name = input("Enter your name: ")
print(f"Hello {name}")

Enter your name: Willie Wildcat
Hello Willie Wildcat

F-Strings

name = input("Enter your name: ")
print(f"Hello {name}")

Enter your name: Willie Wildcat
Hello Willie Wildcat

F-Strings

name = input("Enter your name: ")
print(f"Hello {name}")

Enter your name: Willie Wildcat
Hello Willie Wildcat

F-Strings

name = input("Enter your name: ")
print(f"Hello {name}")

Enter your name: Willie Wildcat
Hello Willie Wildcat

F-Strings

text_one = input("Enter the price of one item: ")
price = float(text_one)
text_two = input("Enter the quantity of items: ")
quantity = int(text_two)
cost = price * quantity
print(f"{quantity} items at ${price} each is ${cost} total")



F-Strings

text_one = input("Enter the price of one item: ")
price = float(text_one)
text_two = input("Enter the quantity of items: ")
quantity = int(text_two)
cost = price * quantity
print(f"{quantity} items at ${price} each is ${cost} total")

Enter the price of one item: 2.75
Enter the quantity of items: 3
3 items at $2.75 each is $8.25 total