total = 0
nums = 0
while total <= 100:
num = int(input("Enter a number: "))
nums += 1
total += num
print("Sum: {}".format(total))
print("Numbers Entered: {}".format(nums))
I hope this helps!
which of these are correctly formatted python lists? check all that apply
Options
-list1=(race, cars, trucks, bikes)
-list2=["computer science', 'math', 'psychology']
-list3=('summer', 'winter', 'spring')
-list5[52, 24, 71, 56]
The first and third option are actually tuples, not lists. Tuples and lists are identical except for the fact that you cannot change the elements in a tuple but you can in a list. The last option is incorrect because there is no equal sign that assigns those numbers to the variable name list5.
The only option that makes sense is option 2, list2
Answer:
B, C, and E :)
Explanation:
1. Write a query in SQL to list the following information of the artists in movie industry. Limit this information to only 5 artists. Sort the information by age descending order. Full name : first name and last name separated by space Age: Current age Address: State that he resides Contact number: Phone number
Answer:
1) SQL Server
SELECT Top 5 concate(first name,' ',last name) AS Full name, Current age AS Age, state AS Address, Phone number AS Contact number from actor ORDERBY Current age DSC ;
2) MySQL
SELECT concate(first name,' ',last name) AS Full name, Current age AS Age, state AS Address, Phone number AS Contact number from actor ORDERBY Current age DSC limit 5;
Explanation:
There two queries first having syntax works fine in SQL server and later with MySQL. All bold faced words are sql keywords. I assumed the tablename is actor as table name is not given if table name is any other replace actor with that name.
Font size means the height of characters.
True
False
Answer:
Hey dude....
Explanation:
This is ur answer....
TrueHope it helps!
Brainliest pls!
Follow me! :)