<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Surya Kulshreshtha</title>
    <description>The latest articles on DEV Community by Surya Kulshreshtha (@suryakulshreshtha).</description>
    <link>https://dev.to/suryakulshreshtha</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F322776%2F78169a4e-3449-471c-a40f-2e5a75077de9.jpg</url>
      <title>DEV Community: Surya Kulshreshtha</title>
      <link>https://dev.to/suryakulshreshtha</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/suryakulshreshtha"/>
    <language>en</language>
    <item>
      <title>Rock Paper Scissor Game in Python</title>
      <dc:creator>Surya Kulshreshtha</dc:creator>
      <pubDate>Sat, 03 Sep 2022 21:40:25 +0000</pubDate>
      <link>https://dev.to/suryakulshreshtha/rock-paper-scissor-game-jn-python-542h</link>
      <guid>https://dev.to/suryakulshreshtha/rock-paper-scissor-game-jn-python-542h</guid>
      <description>&lt;p&gt;Python Code for Rock Paper Scissors game logic : &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fgonld2bzepmd6slmezks.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fgonld2bzepmd6slmezks.png" alt="Image description" width="800" height="162"&gt;&lt;/a&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
from random import randint

player = input("Player, make your move: ").lower()
rand_num = randint(0,   2)
if rand_num == 0:
    computer = "rock"
elif rand_num == 1:
    computer = "paper"
else:
    computer = "scissors"

print(f"Computer plays {computer}" )

if player == computer:
    print("It's a tie!")
elif player == "rock":
    if computer == "scissors":
        print("player wins!")
    else:
        print("computer wins!")
elif player == "paper":
    if computer == "rock":
        print("player wins!")
    else:
        print("computer wins!")
elif player == "scissors":
    if computer == "paper":
        print("player wins!")
    else:
        print("computer wins!") 
else:
    print("Please enter a valid move!")

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



</description>
      <category>python</category>
    </item>
    <item>
      <title>How do I learn programming &amp; subsequently software development (Android &amp; iOS in particular)?</title>
      <dc:creator>Surya Kulshreshtha</dc:creator>
      <pubDate>Sat, 29 Feb 2020 21:20:33 +0000</pubDate>
      <link>https://dev.to/suryakulshreshtha/how-do-i-learn-programming-subsequently-software-development-android-ios-in-particular-496a</link>
      <guid>https://dev.to/suryakulshreshtha/how-do-i-learn-programming-subsequently-software-development-android-ios-in-particular-496a</guid>
      <description>&lt;p&gt;Start with reading the right articles. Do not fall into click bait and fancy headlines of videos/tutorials/articles.&lt;br&gt;
Another important thing that mostly goes ignored is that programming be it android or iOS/Swift requires you to learn how to implement logic, provide structure to support your need (Design and Create) which everyone talks of &amp;amp; also it somehow passively also wants you to learn the tools/IDE/software seamlessly so you can focus on doing and coding rather than struggling to set environment variables, checking installed software and directories.&lt;br&gt;
Understand we always prepare ourselves to learn the hard part by watching other successful people or reading or sometimes intuitively the boost to write code again surfaces, what initially stops you and gets you tired is the switch on and offs &amp;amp; set create or prepare the setup to go and actually sit and code.&lt;br&gt;
Two hours into your selected course of choice or maybe just following article step by step you realise this is just where i was able to press button and run the tools actual coding beings now. That is at times tiring for beginner &amp;amp; expert alike.&lt;br&gt;
Everyone wants to type there first Hello World program (basically choose your weapon of choice and learn the respective syntax print that on some fancy colored text editor or on actual cockpit styled IDE) &amp;amp; you have it some corner of screen would say Hello World.&lt;br&gt;
That's your first actual app in progress but reaching this level would require you to do bunch of things first &amp;amp; that is tiring.&lt;br&gt;
So divide your learning into a threshold &amp;amp; liftoff sequences. You wont find this perception in any book it is coming from personal but valid failure and initial struggle. Every course will skip or be quick with this initial part of threshold, find a course or program or educator who helps you get on board easy and well first.&lt;br&gt;
Because everybody can teach you what book says beyond that all programming concepts are same in beginning once you know that you can then specialize into android specific aspects.&lt;br&gt;
All that i wrote above applies specifically to but also not limited to android programming in java / kotlin / flutter&lt;br&gt;
Have fun &amp;amp; begin correctly (I could have said start right but then its not correct way that's the tiny difference. You wouldn't know its more aesthetic until you get the better more fitted way)&lt;/p&gt;

</description>
      <category>suryakulshreshtha</category>
      <category>android</category>
      <category>ios</category>
      <category>codenewbie</category>
    </item>
  </channel>
</rss>
