# NU jooo
print("Laba diena,")
print("Kaip sekasi?")
#string
first_name = "das"
food = "Cepelinai"
print(f"Labas {first_name}")
print(f"Ar skanus {food}")
email = "."
print(f"Your email is {email}")
#Integers
age = 18
quantity = 5
print(f"You are {age} years old")
print(f"you are buying {quantity} grapes")
#floats
price = 10.89
gpa = 3.8
print(f"the price is {price}")
print(f"My gpa is {gpa}")
#boolean
is_student = True
print(f"are you a student? {is_student}")
#trecia
uzduotis:
adjective1 = input("Enter an adjective: ")
noun = input("Enter a noun: ")
adjective2 = input("Enter an adjective: ")
verb = input("Enter an verb: ")
adjective3 = input("Enter an adjective: ")
print(f"Today I went to the {adjective1} ")
print(f"In an exhibit, I saw {noun}")
print(f"{noun} was {adjective2} and {verb}")
print(f"I was {adjective3}")
pratimas
lengh = float(input("Enter the lenght of a rectangle: "))
width = float(input("Enter the width of a rectangle: "))
heigth = float(input("Enter the height of a rectangle: "))
volume = lengh * width * heigth
area = lengh * width
print(f"The are is: {area} (cm)2")
shopping card zaidimas:
item = input("What item would you like to buy?: ")
price = float(input("What is the price?: "))
quantity = int(input("How many would you like?: "))
total = price * quantity
print(f"You have bought {quantity} x {item}/s ")
print(f"Your total is ${total}")