$ git checkout develop $ git pull $ git checkout test-branch $ git merge develop $ git push
Jayakumar
Tuesday, 22 November 2022
Sunday, 11 September 2022
Tuesday, 26 July 2022
You need to take an integer input and then draw the pattern according to it. Say for example if you enter 5 then, the pattern should be like this in PHP
You need to take an integer input and then draw the pattern according to it. Say for example if you enter 5 then, the pattern should be like this
A A A A A
B B B B B
C C C C C
D D D D D
E E E E E
Input Format: You will take an integer input n from stdin.
Constraints: 1 < = n < = 26
Output Format: Your output should be the pattern according to the input which you had entered.
Input
5
Output
A A A A A
B B B B B
C C C C C
D D D D D
E E E E E
Program
<?php/* Read input from STDIN. Print your output to STDOUT*/$fp = fopen("php://stdin", "r");fscanf(STDIN, "%d\n", $number);$alphas = range('A', 'Z');$columnLength = 5;for($i=0;$i<$number;$i++){$space = "";for($j=0;$j<$columnLength;$j++){echo $space.$alphas[$i];$space = " ";}echo "\n";}?>
Thursday, 3 February 2022
Where to Get Latest Technology News?
- Social Recap
- TheNextWeb.com
- Wired.com
- Tech2.com
- Gizmodo.com
- TheVerge.com
- DigitalTrends.com
- Mashable.com
- TechRadar.com
- Technorati.com
Saturday, 29 January 2022
Python Pandas merge all csv in a folder
Below the code merge all CSV in a floder
import glob, os
import pandas as
pd
df = pd.concat(map(pd.read_csv, glob.glob(os.path.join('', "*.csv"))))
Thursday, 9 December 2021
Tuesday, 7 December 2021
Top 8 Interview Questions in Python
- What is the difference between List and Tuples in Python?
- Python an interpreted language explain
- What is Pep8?
- What are Python Namespaces?
- What are Decorators in Python?
- What are Dict and List comprehension?
- What is the difference between .py and .pyc files?
- What is Slicing in Python?
Subscribe to:
Posts (Atom)
Git merge branch to another branch
$ git checkout develop $ git pull $ git checkout test-branch $ git merge develop $ git push
-
$ git checkout develop $ git pull $ git checkout test-branch $ git merge develop $ git push
-
/* ValidIpAddressRegex = "^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$...
-
This is what I found from this link: http://forum.xda-developers.com/moto-e/help/network-wifi-bluetooth-t3117010 Flash stock rom via fa...