Jump to content

  • Log In with Google      Sign In   
  • Create Account

#Actualrenega_666

Posted 18 April 2013 - 11:48 AM

It works fine for me under Ubuntu 12.10, Python 2.7.3.

 

 What is the output of the following script?

 

import os
print os.system("x=15\necho $x")

 

I have the following output:

  

15
0

#1renega_666

Posted 18 April 2013 - 11:46 AM

It works fine for me under Ubuntu 12.10, Python 2.7.3.

 

 What is the output of the following script?

 

import os
print os.system("x=15\necho $15")

 

I have the following output:

  

15
0

 

 


PARTNERS