Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
20% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
0 Endorsements
Ranked #2K
~8K People Reached
Interests
C python

7 Posted Topics

Member Avatar for ~s.o.s~
Member Avatar for aswekown

Hi, I am new to html and I am reading the html and the css code of the website: http://www.quarryequipments.com/ I notice that if I make the browser size small, the li element in the navigation will not float left, how do I make it out? thanks.

Member Avatar for aswekown
0
128
Member Avatar for somjit{}

try this way: int main(int argc, char **argv) { int m; int arr[6] = {1, 8, 7, 3, 100, 120}; m = f_min(arr, 6); printf("The MIN values is -->%d\n", m); return 0; } int f_min(int arr[], int i) { int m; if (i==0) { return arr[0]; } else { m …

Member Avatar for somjit{}
0
362
Member Avatar for Andyvonschweal

input() function means you can input int number or string with " ": like: >>> a=input() "hello" >>> a 'hello' >>> a=input() 100 >>> a 100 your code except a int number but not a string var.

Member Avatar for Lucaci Andrew
0
253
Member Avatar for ricepicker417

this is easy to do : #!/usr/bin/env python #-*- coding:utf-8 -*- matirx = [] for i in xrange(3): print "Enter a 3-by 4 matrix row for row %d" % i row = map(float, raw_input().split(' ')) matirx.append(row) print "The matrix is" for row in matirx: print row revmatirx = map(list, zip(*matirx)) …

Member Avatar for vegaseat
0
2K
Member Avatar for flebber

Well, when you set doubler = f(2) that just create a function which parameter is x so doubler is a function object. now the x is set to be 2, you can change it. When you type print doubler(5) 5 is the y. so you get the result 10.

Member Avatar for flebber
0
149
Member Avatar for aswekown

Hi, I have a piece of code here. #include <stdio.h> int main() { // jimmy and masked_raider are just aliases for the same memory address. They’re pointing to the same place char masked_raider[] = "Alive"; char *jimmy = masked_raider; printf("Masked raider is %s, Jimmy is %s\n", masked_raider, jimmy); masked_raider[0] = …

Member Avatar for deceptikon
0
126

The End.