Tech GEEK 🤓 | AI Engineer | 🚀 Building projects with code & curiosity | India 🇮🇳
SHANKS
Thanks for 100 subscribers ❤️
3 weeks ago | [YT] | 1
View 0 replies
What will be the output of the following Python code?def modify_string(s, index): s = s[:index] + s[index].upper() + s[index+1:] return stext = "programming"result = modify_string(text, 3)print(result)
4 months ago | [YT] | 0
1 year ago | [YT] | 0
SHANKS
Thanks for 100 subscribers ❤️
3 weeks ago | [YT] | 1
View 0 replies
SHANKS
What will be the output of the following Python code?
def modify_string(s, index):
s = s[:index] + s[index].upper() + s[index+1:]
return s
text = "programming"
result = modify_string(text, 3)
print(result)
4 months ago | [YT] | 0
View 0 replies
SHANKS
1 year ago | [YT] | 0
View 0 replies