Skip to main content
πŸ… Weekly Code BattleπŸ‘¨β€πŸŽ“ Career Accelerator ProgramsπŸ“œ Community GuidelinesπŸ’Ό Job Alerts
πŸ… Weekly Code BattleπŸ‘¨β€πŸŽ“ Career Accelerator ProgramsπŸ“œ Community GuidelinesπŸ’Ό Job Alerts
LetsUpgradeHome
No results found...
Sign Up
Ask a Question
Fahad Mukhtar Siddiqui
Fahad Mukhtar Siddiqui
Data Analyst
Asked a question 6 months ago

Python coding Def func(x) i =[1] For i in range(x) : I append (i+1) Func (2) Func ([3,2,1) Func (3) In Python what would be the output in each case.

Sahil Kamble

Liked by Sahil Kamble

Fuel your ambition, discover your passion and achieve your professional goals with LetsUpgrade.
Sign Up Now

Sign Up Now
Login Now

Related Questions

What is output of this code? def func(): x = 1 x = 2 func() print(x)
What is output of following code? def func(n): if(n==1): return 1; else: return(n+func(n-1)) print(func(4))
What will be the output of this code? x = "Python" print(x[1])
What will be the output of the following Python code snippet if x=1? x<<2
def dict(): x = int(input("")) d = {} print(x) for i in range(x): d[i+1]=(i+1)**2 ... 'int' object is not callable
what will be the output for the following python code? str = 'letsupgrade' for i in range(str): print(i)

Question Stats

πŸ‘οΈ 5 views
πŸ‘€ 0 followers
πŸ—“ Asked a question 6 months ago
πŸ•Ά Question Edits
πŸ“ˆ Views this month

Share Question

Contact Us
Terms of Use | Privacy Policy
Powered by tribe.