Home
Archive Page
Label "Slider" Page
Error 404 Page
Posts Style And Comments
Learn About Us Page
Purchase
Copyright 2014
idklol
. All Rights Reserved. By
Mas Template
idklol
Home
Popular Posts
Python Functions (Activity 6.3.1)
Question: Assign max_sum with the max of (num_a, num_b) PLUS the max of (num_y, num_z). Use just one statement. Hint: Call find_max() ...
Python Nested Loops (Activity 5.8.1)
Question : Write nested loops to print a rectangle. Sample output for given program: * * * * * * num_rows = 2 num_cols = 3 for i in range...
Python Return (Activity 6.3.2)
Question: Define a function pyramid_volume with parameters base_length, base_width, and pyramid_height, that returns the volume of a pyram...
Python Conditional expression (Activity 4.7.1)
Question: Create a conditional expression that evaluates to string "negative" if user_val is less than 0, and "non-negative...
Python If-else expression (Activity 4.2.3)
Question: Write an expression that will print "in high school" if the value of user_grade is between 9 and 12 (inclusive). Code:...
Python Basic if-else expression (Activity 4.2.2)
Question: Write an expression that will print "Even" if the value of user_num is an even number. Code: user_num = 13 if user_num...
Python Loops (Activity 5.10.1)
Question: "Simon Says" is a memory game where "Simon" outputs a sequence of 10 characters (R, G, B, Y) and the use...
Python For Loops (Activity 4.1.2)
Question: Write an if-else statement for the following: If user_tickets is less than 5, assign 1 to num_tickets. Else, assign user_tickets ...
asdasdasdasd
asd
JavaScript If-else statements[BASICS]
Very often when you write code, you want to perform different actions for different decisions. You can use conditional statements in your co...
Widgetized Sidebar
Labels
Break
If-else
JavaScript
JS
Loops
Nested
Python
Return
Widgetized
About Templatezy
Widgetized